提交 6ced0b3f 编写于 作者: A Andrew Morton 提交者: David S. Miller

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: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 83f36f3f
......@@ -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;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册