diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-08-13 13:32:06 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-13 13:32:06 +0400 |
commit | 6ced0b3f1e1c089caf8798485423a093744b6a48 (patch) | |
tree | debbd49b15de9ec4669138fb7fe138bf1c1c2b3d /net/tipc/subscr.c | |
parent | 83f36f3f35f4f83fa346bfff58a5deabc78370e5 (diff) | |
download | linux-6ced0b3f1e1c089caf8798485423a093744b6a48.tar.xz |
net/tipc/subscr.c: don't use ___constant_swab32
It's an internal implementation detail which we _should_ be free to change.
So we did, and it promptly broke.
The compiler shold be able to work out when to use the __constant version
anyway.
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/subscr.c')
-rw-r--r-- | net/tipc/subscr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/subscr.c b/net/tipc/subscr.c index 0326d3060bc7..0747d8a9232f 100644 --- a/net/tipc/subscr.c +++ b/net/tipc/subscr.c @@ -85,7 +85,7 @@ static struct top_srv topsrv = { 0 }; static u32 htohl(u32 in, int swap) { - return swap ? (u32)___constant_swab32(in) : in; + return swap ? swab32(in) : in; } /** |