aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-10-19 02:40:25 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 14:53:41 -0400
commit1977f032722c27ee3730284582fd3991ad9ac81b (patch)
tree00ba5692a697a387399131850c56e01345c7cace /include/asm-x86
parent1276b103c20603835d9b903cae099125e8c2c5a3 (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 'include/asm-x86')
-rw-r--r--include/asm-x86/pgtable_32.h5
-rw-r--r--include/asm-x86/pgtable_64.h2
-rw-r--r--include/asm-x86/smp_32.h2
-rw-r--r--include/asm-x86/topology_64.h2
4 files changed, 4 insertions, 7 deletions
diff --git a/include/asm-x86/pgtable_32.h b/include/asm-x86/pgtable_32.h
index acd4b339c49b..ed3e70d8d04b 100644
--- a/include/asm-x86/pgtable_32.h
+++ b/include/asm-x86/pgtable_32.h
@@ -17,10 +17,7 @@
17#include <linux/threads.h> 17#include <linux/threads.h>
18#include <asm/paravirt.h> 18#include <asm/paravirt.h>
19 19
20#ifndef _I386_BITOPS_H 20#include <linux/bitops.h>
21#include <asm/bitops.h>
22#endif
23
24#include <linux/slab.h> 21#include <linux/slab.h>
25#include <linux/list.h> 22#include <linux/list.h>
26#include <linux/spinlock.h> 23#include <linux/spinlock.h>
diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h
index a79f5355e3b0..9b0ff477b39e 100644
--- a/include/asm-x86/pgtable_64.h
+++ b/include/asm-x86/pgtable_64.h
@@ -9,7 +9,7 @@
9 * the x86-64 page table tree. 9 * the x86-64 page table tree.
10 */ 10 */
11#include <asm/processor.h> 11#include <asm/processor.h>
12#include <asm/bitops.h> 12#include <linux/bitops.h>
13#include <linux/threads.h> 13#include <linux/threads.h>
14#include <asm/pda.h> 14#include <asm/pda.h>
15 15
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h
index ee46038d126c..1f576a93368f 100644
--- a/include/asm-x86/smp_32.h
+++ b/include/asm-x86/smp_32.h
@@ -11,7 +11,7 @@
11#endif 11#endif
12 12
13#if defined(CONFIG_X86_LOCAL_APIC) && !defined(__ASSEMBLY__) 13#if defined(CONFIG_X86_LOCAL_APIC) && !defined(__ASSEMBLY__)
14#include <asm/bitops.h> 14#include <linux/bitops.h>
15#include <asm/mpspec.h> 15#include <asm/mpspec.h>
16#include <asm/apic.h> 16#include <asm/apic.h>
17#ifdef CONFIG_X86_IO_APIC 17#ifdef CONFIG_X86_IO_APIC
diff --git a/include/asm-x86/topology_64.h b/include/asm-x86/topology_64.h
index 848c17f92226..c0c93d744673 100644
--- a/include/asm-x86/topology_64.h
+++ b/include/asm-x86/topology_64.h
@@ -5,7 +5,7 @@
5#ifdef CONFIG_NUMA 5#ifdef CONFIG_NUMA
6 6
7#include <asm/mpspec.h> 7#include <asm/mpspec.h>
8#include <asm/bitops.h> 8#include <linux/bitops.h>
9 9
10extern cpumask_t cpu_online_map; 10extern cpumask_t cpu_online_map;
11 11