aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-05-08 03:28:08 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:07 -0400
commite63340ae6b6205fef26b40a75673d1c9c0c8bb90 (patch)
tree8d3212705515edec73c3936bb9e23c71d34a7b41 /arch/ia64/kernel
parent04c9167f91e309c9c4ea982992aa08e83b2eb42e (diff)
header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed. Suggested by Al Viro. Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc, sparc64, and arm (all 59 defconfigs). Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/iosapic.c1
-rw-r--r--arch/ia64/kernel/irq_ia64.c1
-rw-r--r--arch/ia64/kernel/mca.c1
-rw-r--r--arch/ia64/kernel/mca_drv.c1
-rw-r--r--arch/ia64/kernel/perfmon.c1
-rw-r--r--arch/ia64/kernel/process.c1
-rw-r--r--arch/ia64/kernel/salinfo.c1
-rw-r--r--arch/ia64/kernel/signal.c1
-rw-r--r--arch/ia64/kernel/smpboot.c1
-rw-r--r--arch/ia64/kernel/sys_ia64.c1
-rw-r--r--arch/ia64/kernel/unaligned.c1
11 files changed, 0 insertions, 11 deletions
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c
index dcfbf3e7a9ef..93d9ab14ba24 100644
--- a/arch/ia64/kernel/iosapic.c
+++ b/arch/ia64/kernel/iosapic.c
@@ -87,7 +87,6 @@
87#include <linux/list.h> 87#include <linux/list.h>
88#include <linux/pci.h> 88#include <linux/pci.h>
89#include <linux/smp.h> 89#include <linux/smp.h>
90#include <linux/smp_lock.h>
91#include <linux/string.h> 90#include <linux/string.h>
92#include <linux/bootmem.h> 91#include <linux/bootmem.h>
93 92
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c
index 456f57b087ca..1c5044a80958 100644
--- a/arch/ia64/kernel/irq_ia64.c
+++ b/arch/ia64/kernel/irq_ia64.c
@@ -27,7 +27,6 @@
27#include <linux/random.h> /* for rand_initialize_irq() */ 27#include <linux/random.h> /* for rand_initialize_irq() */
28#include <linux/signal.h> 28#include <linux/signal.h>
29#include <linux/smp.h> 29#include <linux/smp.h>
30#include <linux/smp_lock.h>
31#include <linux/threads.h> 30#include <linux/threads.h>
32#include <linux/bitops.h> 31#include <linux/bitops.h>
33#include <linux/irq.h> 32#include <linux/irq.h>
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c
index 65e3b81a442e..1d7cc7e2ce32 100644
--- a/arch/ia64/kernel/mca.c
+++ b/arch/ia64/kernel/mca.c
@@ -63,7 +63,6 @@
63#include <linux/sched.h> 63#include <linux/sched.h>
64#include <linux/interrupt.h> 64#include <linux/interrupt.h>
65#include <linux/irq.h> 65#include <linux/irq.h>
66#include <linux/smp_lock.h>
67#include <linux/bootmem.h> 66#include <linux/bootmem.h>
68#include <linux/acpi.h> 67#include <linux/acpi.h>
69#include <linux/timer.h> 68#include <linux/timer.h>
diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c
index 832cf1e647e8..70b8bdbb7e6f 100644
--- a/arch/ia64/kernel/mca_drv.c
+++ b/arch/ia64/kernel/mca_drv.c
@@ -14,7 +14,6 @@
14#include <linux/interrupt.h> 14#include <linux/interrupt.h>
15#include <linux/irq.h> 15#include <linux/irq.h>
16#include <linux/kallsyms.h> 16#include <linux/kallsyms.h>
17#include <linux/smp_lock.h>
18#include <linux/bootmem.h> 17#include <linux/bootmem.h>
19#include <linux/acpi.h> 18#include <linux/acpi.h>
20#include <linux/timer.h> 19#include <linux/timer.h>
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index abc7ad035886..e7191ca30b16 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -23,7 +23,6 @@
23#include <linux/kernel.h> 23#include <linux/kernel.h>
24#include <linux/sched.h> 24#include <linux/sched.h>
25#include <linux/interrupt.h> 25#include <linux/interrupt.h>
26#include <linux/smp_lock.h>
27#include <linux/proc_fs.h> 26#include <linux/proc_fs.h>
28#include <linux/seq_file.h> 27#include <linux/seq_file.h>
29#include <linux/init.h> 28#include <linux/init.h>
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index 7ab36c772e21..8bb571a8a738 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -20,7 +20,6 @@
20#include <linux/personality.h> 20#include <linux/personality.h>
21#include <linux/sched.h> 21#include <linux/sched.h>
22#include <linux/slab.h> 22#include <linux/slab.h>
23#include <linux/smp_lock.h>
24#include <linux/stddef.h> 23#include <linux/stddef.h>
25#include <linux/thread_info.h> 24#include <linux/thread_info.h>
26#include <linux/unistd.h> 25#include <linux/unistd.h>
diff --git a/arch/ia64/kernel/salinfo.c b/arch/ia64/kernel/salinfo.c
index af9f8754d847..a51f1d0bfb70 100644
--- a/arch/ia64/kernel/salinfo.c
+++ b/arch/ia64/kernel/salinfo.c
@@ -42,7 +42,6 @@
42#include <linux/proc_fs.h> 42#include <linux/proc_fs.h>
43#include <linux/module.h> 43#include <linux/module.h>
44#include <linux/smp.h> 44#include <linux/smp.h>
45#include <linux/smp_lock.h>
46#include <linux/timer.h> 45#include <linux/timer.h>
47#include <linux/vmalloc.h> 46#include <linux/vmalloc.h>
48 47
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c
index 77f8b49c7882..0dcd56da6001 100644
--- a/arch/ia64/kernel/signal.c
+++ b/arch/ia64/kernel/signal.c
@@ -14,7 +14,6 @@
14#include <linux/sched.h> 14#include <linux/sched.h>
15#include <linux/signal.h> 15#include <linux/signal.h>
16#include <linux/smp.h> 16#include <linux/smp.h>
17#include <linux/smp_lock.h>
18#include <linux/stddef.h> 17#include <linux/stddef.h>
19#include <linux/tty.h> 18#include <linux/tty.h>
20#include <linux/binfmts.h> 19#include <linux/binfmts.h>
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
index ff7df439da6d..a44792d0f3a9 100644
--- a/arch/ia64/kernel/smpboot.c
+++ b/arch/ia64/kernel/smpboot.c
@@ -35,7 +35,6 @@
35#include <linux/mm.h> 35#include <linux/mm.h>
36#include <linux/notifier.h> 36#include <linux/notifier.h>
37#include <linux/smp.h> 37#include <linux/smp.h>
38#include <linux/smp_lock.h>
39#include <linux/spinlock.h> 38#include <linux/spinlock.h>
40#include <linux/efi.h> 39#include <linux/efi.h>
41#include <linux/percpu.h> 40#include <linux/percpu.h>
diff --git a/arch/ia64/kernel/sys_ia64.c b/arch/ia64/kernel/sys_ia64.c
index 2fcaa2051aa3..1eda194b9559 100644
--- a/arch/ia64/kernel/sys_ia64.c
+++ b/arch/ia64/kernel/sys_ia64.c
@@ -13,7 +13,6 @@
13#include <linux/shm.h> 13#include <linux/shm.h>
14#include <linux/file.h> /* doh, must come after sched.h... */ 14#include <linux/file.h> /* doh, must come after sched.h... */
15#include <linux/smp.h> 15#include <linux/smp.h>
16#include <linux/smp_lock.h>
17#include <linux/syscalls.h> 16#include <linux/syscalls.h>
18#include <linux/highuid.h> 17#include <linux/highuid.h>
19#include <linux/hugetlb.h> 18#include <linux/hugetlb.h>
diff --git a/arch/ia64/kernel/unaligned.c b/arch/ia64/kernel/unaligned.c
index 1e357550c776..fe6aa5a9f8fa 100644
--- a/arch/ia64/kernel/unaligned.c
+++ b/arch/ia64/kernel/unaligned.c
@@ -15,7 +15,6 @@
15 */ 15 */
16#include <linux/kernel.h> 16#include <linux/kernel.h>
17#include <linux/sched.h> 17#include <linux/sched.h>
18#include <linux/smp_lock.h>
19#include <linux/tty.h> 18#include <linux/tty.h>
20 19
21#include <asm/intrinsics.h> 20#include <asm/intrinsics.h>