diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-19 02:40:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:41 -0400 |
commit | 1977f032722c27ee3730284582fd3991ad9ac81b (patch) | |
tree | 00ba5692a697a387399131850c56e01345c7cace /net | |
parent | 1276b103c20603835d9b903cae099125e8c2c5a3 (diff) |
remove asm/bitops.h includes
remove asm/bitops.h includes
including asm/bitops directly may cause compile errors. don't include it
and include linux/bitops instead. next patch will deny including asm header
directly.
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/gen_estimator.c | 2 | ||||
-rw-r--r-- | net/core/pktgen.c | 2 | ||||
-rw-r--r-- | net/ipv4/fib_trie.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_connbytes.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/net/core/gen_estimator.c b/net/core/gen_estimator.c index 590a767b029c..daadbcc4e8dd 100644 --- a/net/core/gen_estimator.c +++ b/net/core/gen_estimator.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/uaccess.h> | 16 | #include <asm/uaccess.h> |
17 | #include <asm/system.h> | 17 | #include <asm/system.h> |
18 | #include <asm/bitops.h> | 18 | #include <linux/bitops.h> |
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 8cae60c53383..9d6e6f18838b 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -161,7 +161,7 @@ | |||
161 | #endif | 161 | #endif |
162 | #include <asm/byteorder.h> | 162 | #include <asm/byteorder.h> |
163 | #include <linux/rcupdate.h> | 163 | #include <linux/rcupdate.h> |
164 | #include <asm/bitops.h> | 164 | #include <linux/bitops.h> |
165 | #include <asm/io.h> | 165 | #include <asm/io.h> |
166 | #include <asm/dma.h> | 166 | #include <asm/dma.h> |
167 | #include <asm/uaccess.h> | 167 | #include <asm/uaccess.h> |
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 81a8285d6d6a..8d8c2915e064 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | #include <asm/uaccess.h> | 55 | #include <asm/uaccess.h> |
56 | #include <asm/system.h> | 56 | #include <asm/system.h> |
57 | #include <asm/bitops.h> | 57 | #include <linux/bitops.h> |
58 | #include <linux/types.h> | 58 | #include <linux/types.h> |
59 | #include <linux/kernel.h> | 59 | #include <linux/kernel.h> |
60 | #include <linux/mm.h> | 60 | #include <linux/mm.h> |
diff --git a/net/netfilter/xt_connbytes.c b/net/netfilter/xt_connbytes.c index af79423bc8e8..9ec50139b9a1 100644 --- a/net/netfilter/xt_connbytes.c +++ b/net/netfilter/xt_connbytes.c | |||
@@ -2,13 +2,13 @@ | |||
2 | * GPL (C) 2002 Martin Devera (devik@cdi.cz). | 2 | * GPL (C) 2002 Martin Devera (devik@cdi.cz). |
3 | */ | 3 | */ |
4 | #include <linux/module.h> | 4 | #include <linux/module.h> |
5 | #include <linux/bitops.h> | ||
5 | #include <linux/skbuff.h> | 6 | #include <linux/skbuff.h> |
6 | #include <linux/netfilter/x_tables.h> | 7 | #include <linux/netfilter/x_tables.h> |
7 | #include <linux/netfilter/xt_connbytes.h> | 8 | #include <linux/netfilter/xt_connbytes.h> |
8 | #include <net/netfilter/nf_conntrack.h> | 9 | #include <net/netfilter/nf_conntrack.h> |
9 | 10 | ||
10 | #include <asm/div64.h> | 11 | #include <asm/div64.h> |
11 | #include <asm/bitops.h> | ||
12 | 12 | ||
13 | MODULE_LICENSE("GPL"); | 13 | MODULE_LICENSE("GPL"); |
14 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); | 14 | MODULE_AUTHOR("Harald Welte <laforge@netfilter.org>"); |