aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-cris/posix_types.h2
-rw-r--r--include/asm-ia64/cacheflush.h2
-rw-r--r--include/asm-ia64/pgtable.h2
-rw-r--r--include/asm-ia64/smp.h2
-rw-r--r--include/asm-ia64/spinlock.h2
-rw-r--r--include/asm-m32r/pgtable.h2
-rw-r--r--include/asm-mips/fpu.h2
-rw-r--r--include/asm-parisc/pgtable.h2
-rw-r--r--include/asm-powerpc/iommu.h2
-rw-r--r--include/asm-powerpc/mmu_context.h2
-rw-r--r--include/asm-ppc/mmu_context.h3
-rw-r--r--include/asm-sparc64/smp.h2
-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
-rw-r--r--include/linux/of.h2
17 files changed, 18 insertions, 20 deletions
diff --git a/include/asm-cris/posix_types.h b/include/asm-cris/posix_types.h
index 7b9ed22ab5dd..92000d0c3f97 100644
--- a/include/asm-cris/posix_types.h
+++ b/include/asm-cris/posix_types.h
@@ -52,7 +52,7 @@ typedef struct {
52} __kernel_fsid_t; 52} __kernel_fsid_t;
53 53
54#ifdef __KERNEL__ 54#ifdef __KERNEL__
55#include <asm/bitops.h> 55#include <linux/bitops.h>
56 56
57#undef __FD_SET 57#undef __FD_SET
58#define __FD_SET(fd,fdsetp) set_bit(fd, (void *)(fdsetp)) 58#define __FD_SET(fd,fdsetp) set_bit(fd, (void *)(fdsetp))
diff --git a/include/asm-ia64/cacheflush.h b/include/asm-ia64/cacheflush.h
index 4906916d715b..afcfbda76e20 100644
--- a/include/asm-ia64/cacheflush.h
+++ b/include/asm-ia64/cacheflush.h
@@ -7,8 +7,8 @@
7 */ 7 */
8 8
9#include <linux/page-flags.h> 9#include <linux/page-flags.h>
10#include <linux/bitops.h>
10 11
11#include <asm/bitops.h>
12#include <asm/page.h> 12#include <asm/page.h>
13 13
14/* 14/*
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h
index 0971ec90807e..e6204f14f614 100644
--- a/include/asm-ia64/pgtable.h
+++ b/include/asm-ia64/pgtable.h
@@ -150,7 +150,7 @@
150# ifndef __ASSEMBLY__ 150# ifndef __ASSEMBLY__
151 151
152#include <linux/sched.h> /* for mm_struct */ 152#include <linux/sched.h> /* for mm_struct */
153#include <asm/bitops.h> 153#include <linux/bitops.h>
154#include <asm/cacheflush.h> 154#include <asm/cacheflush.h>
155#include <asm/mmu_context.h> 155#include <asm/mmu_context.h>
156#include <asm/processor.h> 156#include <asm/processor.h>
diff --git a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h
index 1703c9d885bd..471cc2ee9ac4 100644
--- a/include/asm-ia64/smp.h
+++ b/include/asm-ia64/smp.h
@@ -14,8 +14,8 @@
14#include <linux/threads.h> 14#include <linux/threads.h>
15#include <linux/kernel.h> 15#include <linux/kernel.h>
16#include <linux/cpumask.h> 16#include <linux/cpumask.h>
17#include <linux/bitops.h>
17 18
18#include <asm/bitops.h>
19#include <asm/io.h> 19#include <asm/io.h>
20#include <asm/param.h> 20#include <asm/param.h>
21#include <asm/processor.h> 21#include <asm/processor.h>
diff --git a/include/asm-ia64/spinlock.h b/include/asm-ia64/spinlock.h
index ff857e31738a..0229fb95fb38 100644
--- a/include/asm-ia64/spinlock.h
+++ b/include/asm-ia64/spinlock.h
@@ -11,9 +11,9 @@
11 11
12#include <linux/compiler.h> 12#include <linux/compiler.h>
13#include <linux/kernel.h> 13#include <linux/kernel.h>
14#include <linux/bitops.h>
14 15
15#include <asm/atomic.h> 16#include <asm/atomic.h>
16#include <asm/bitops.h>
17#include <asm/intrinsics.h> 17#include <asm/intrinsics.h>
18#include <asm/system.h> 18#include <asm/system.h>
19 19
diff --git a/include/asm-m32r/pgtable.h b/include/asm-m32r/pgtable.h
index 92d7266783fd..86505387be08 100644
--- a/include/asm-m32r/pgtable.h
+++ b/include/asm-m32r/pgtable.h
@@ -21,9 +21,9 @@
21#ifndef __ASSEMBLY__ 21#ifndef __ASSEMBLY__
22 22
23#include <linux/threads.h> 23#include <linux/threads.h>
24#include <linux/bitops.h>
24#include <asm/processor.h> 25#include <asm/processor.h>
25#include <asm/addrspace.h> 26#include <asm/addrspace.h>
26#include <asm/bitops.h>
27#include <asm/page.h> 27#include <asm/page.h>
28 28
29struct mm_struct; 29struct mm_struct;
diff --git a/include/asm-mips/fpu.h b/include/asm-mips/fpu.h
index 483685b1592e..e59d4c039661 100644
--- a/include/asm-mips/fpu.h
+++ b/include/asm-mips/fpu.h
@@ -12,12 +12,12 @@
12 12
13#include <linux/sched.h> 13#include <linux/sched.h>
14#include <linux/thread_info.h> 14#include <linux/thread_info.h>
15#include <linux/bitops.h>
15 16
16#include <asm/mipsregs.h> 17#include <asm/mipsregs.h>
17#include <asm/cpu.h> 18#include <asm/cpu.h>
18#include <asm/cpu-features.h> 19#include <asm/cpu-features.h>
19#include <asm/hazards.h> 20#include <asm/hazards.h>
20#include <asm/bitops.h>
21#include <asm/processor.h> 21#include <asm/processor.h>
22#include <asm/current.h> 22#include <asm/current.h>
23 23
diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h
index e88cacd63724..9ab79c8e5a41 100644
--- a/include/asm-parisc/pgtable.h
+++ b/include/asm-parisc/pgtable.h
@@ -11,9 +11,9 @@
11 */ 11 */
12 12
13#include <linux/mm.h> /* for vm_area_struct */ 13#include <linux/mm.h> /* for vm_area_struct */
14#include <linux/bitops.h>
14#include <asm/processor.h> 15#include <asm/processor.h>
15#include <asm/cache.h> 16#include <asm/cache.h>
16#include <asm/bitops.h>
17 17
18/* 18/*
19 * kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel 19 * kern_addr_valid(ADDR) tests if ADDR is pointing to valid kernel
diff --git a/include/asm-powerpc/iommu.h b/include/asm-powerpc/iommu.h
index 870967e47204..4a82fdccee92 100644
--- a/include/asm-powerpc/iommu.h
+++ b/include/asm-powerpc/iommu.h
@@ -26,9 +26,9 @@
26#include <linux/spinlock.h> 26#include <linux/spinlock.h>
27#include <linux/device.h> 27#include <linux/device.h>
28#include <linux/dma-mapping.h> 28#include <linux/dma-mapping.h>
29#include <linux/bitops.h>
29#include <asm/machdep.h> 30#include <asm/machdep.h>
30#include <asm/types.h> 31#include <asm/types.h>
31#include <asm/bitops.h>
32 32
33#define IOMMU_PAGE_SHIFT 12 33#define IOMMU_PAGE_SHIFT 12
34#define IOMMU_PAGE_SIZE (ASM_CONST(1) << IOMMU_PAGE_SHIFT) 34#define IOMMU_PAGE_SIZE (ASM_CONST(1) << IOMMU_PAGE_SHIFT)
diff --git a/include/asm-powerpc/mmu_context.h b/include/asm-powerpc/mmu_context.h
index f863ac21409e..9102b8bf0ead 100644
--- a/include/asm-powerpc/mmu_context.h
+++ b/include/asm-powerpc/mmu_context.h
@@ -8,7 +8,7 @@
8 8
9#ifndef CONFIG_PPC64 9#ifndef CONFIG_PPC64
10#include <asm/atomic.h> 10#include <asm/atomic.h>
11#include <asm/bitops.h> 11#include <linux/bitops.h>
12 12
13/* 13/*
14 * On 32-bit PowerPC 6xx/7xx/7xxx CPUs, we use a set of 16 VSIDs 14 * On 32-bit PowerPC 6xx/7xx/7xxx CPUs, we use a set of 16 VSIDs
diff --git a/include/asm-ppc/mmu_context.h b/include/asm-ppc/mmu_context.h
index a6441a063e5d..b2e25d8997bf 100644
--- a/include/asm-ppc/mmu_context.h
+++ b/include/asm-ppc/mmu_context.h
@@ -2,8 +2,9 @@
2#ifndef __PPC_MMU_CONTEXT_H 2#ifndef __PPC_MMU_CONTEXT_H
3#define __PPC_MMU_CONTEXT_H 3#define __PPC_MMU_CONTEXT_H
4 4
5#include <linux/bitops.h>
6
5#include <asm/atomic.h> 7#include <asm/atomic.h>
6#include <asm/bitops.h>
7#include <asm/mmu.h> 8#include <asm/mmu.h>
8#include <asm/cputable.h> 9#include <asm/cputable.h>
9#include <asm-generic/mm_hooks.h> 10#include <asm-generic/mm_hooks.h>
diff --git a/include/asm-sparc64/smp.h b/include/asm-sparc64/smp.h
index 42c09949526c..1c1c5ea5cea5 100644
--- a/include/asm-sparc64/smp.h
+++ b/include/asm-sparc64/smp.h
@@ -26,7 +26,7 @@
26 * Private routines/data 26 * Private routines/data
27 */ 27 */
28 28
29#include <asm/bitops.h> 29#include <linux/bitops.h>
30#include <asm/atomic.h> 30#include <asm/atomic.h>
31#include <asm/percpu.h> 31#include <asm/percpu.h>
32 32
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
diff --git a/include/linux/of.h b/include/linux/of.h
index 6df80e985914..5c39b9270ff7 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -16,8 +16,8 @@
16 * 2 of the License, or (at your option) any later version. 16 * 2 of the License, or (at your option) any later version.
17 */ 17 */
18#include <linux/types.h> 18#include <linux/types.h>
19#include <linux/bitops.h>
19 20
20#include <asm/bitops.h>
21#include <asm/prom.h> 21#include <asm/prom.h>
22 22
23/* flag descriptions */ 23/* flag descriptions */