projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f36f3
)
net/tipc/subscr.c: don't use ___constant_swab32
author
Andrew Morton
<akpm@linux-foundation.org>
Wed, 13 Aug 2008 09:32:06 +0000
(
02:32
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 13 Aug 2008 09:32:06 +0000
(
02:32
-0700)
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>
net/tipc/subscr.c
patch
|
blob
|
blame
|
history
diff --git
a/net/tipc/subscr.c
b/net/tipc/subscr.c
index 0326d3060bc7acdea0b0f9f158f92518192a538d..0747d8a9232f4f51cf7f0950b50a1a0ae9d7d85f 100644
(file)
--- 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;
}
/**