From: Andrew Morton Date: Wed, 13 Aug 2008 09:32:06 +0000 (-0700) Subject: net/tipc/subscr.c: don't use ___constant_swab32 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6ced0b3f1e1c089caf8798485423a093744b6a48;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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; } /**