arch: Remove unnecessary inclusions of asm/semaphore.h
authorMatthew Wilcox <matthew@wil.cx>
Tue, 26 Feb 2008 14:55:29 +0000 (09:55 -0500)
committerMatthew Wilcox <willy@linux.intel.com>
Sat, 19 Apr 2008 02:14:49 +0000 (22:14 -0400)
None of these files use any of the functionality promised by
asm/semaphore.h.  It's possible that they rely on it dragging in some
unrelated header file, but I can't build all these files, so we'll have
fix any build failures as they come up.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
28 files changed:
arch/arm/common/rtctime.c
arch/arm/mach-aaec2000/clock.c
arch/arm/mach-at91/clock.c
arch/arm/mach-integrator/clock.c
arch/arm/mach-pnx4008/clock.c
arch/arm/mach-pnx4008/gpio.c
arch/arm/mach-realview/clock.c
arch/arm/mach-versatile/clock.c
arch/arm/plat-omap/clock.c
arch/ia64/sn/kernel/sn2/sn_hwperf.c
arch/m68k/atari/stram.c
arch/m68k/sun3/intersil.c
arch/mips/sgi-ip27/ip27-console.c
arch/parisc/kernel/sys_parisc32.c
arch/powerpc/kernel/rtas.c
arch/powerpc/kernel/sys_ppc32.c
arch/powerpc/kernel/syscalls.c
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/inode.c
arch/powerpc/platforms/powermac/pfunc_core.c
arch/ppc/syslib/ocp.c
arch/s390/kernel/compat_linux.c
arch/s390/kernel/debug.c
arch/sparc64/kernel/sys_sparc32.c
arch/v850/kernel/syscalls.c
arch/x86/ia32/sys_ia32.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/proc.c

index f53bca46e23cadb5e35dd847173b5028a7ffa1c8..aa8f7739c822c5efa1a850beda94bbd4ea8b971a 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/mutex.h>
 
 #include <asm/rtc.h>
-#include <asm/semaphore.h>
 
 static DECLARE_WAIT_QUEUE_HEAD(rtc_wait);
 static struct fasync_struct *rtc_async_queue;
index 74aa7a39bb68d9d09c281dd7c97612c206291afd..e10ee158d72058dcaee136eb198ff8383110df96 100644 (file)
@@ -18,8 +18,6 @@
 #include <linux/clk.h>
 #include <linux/mutex.h>
 
-#include <asm/semaphore.h>
-
 #include "clock.h"
 
 static LIST_HEAD(clocks);
index de6424e9ac0231f0123b50470d18984dd4d58888..a33dfe4507264bb9e2943f1a04699ccf7f155d76 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/delay.h>
 #include <linux/clk.h>
 
-#include <asm/semaphore.h>
 #include <asm/io.h>
 #include <asm/mach-types.h>
 
index 95a1e263f7fa59e488adecdba1f0637005528471..8d761fdd2ecdaf3b44ea2e0f926f581963780766 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/clk.h>
 #include <linux/mutex.h>
 
-#include <asm/semaphore.h>
 #include <asm/hardware/icst525.h>
 
 #include "clock.h"
index 8e00ed43fb95d76fb0dc5243cf0a3acdf0d2d809..a5268c3ac5a75332bf96cdb34887b69688c1ab93 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/err.h>
 #include <linux/delay.h>
 
-#include <asm/semaphore.h>
 #include <asm/hardware.h>
 #include <asm/io.h>
 
index 1ab84ced7b5a56d310e7b1654771421d6dc200d6..ef179cab80e2133ed71f8f3bf7fa92a4da6d188b 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <asm/semaphore.h>
 #include <asm/io.h>
 #include <asm/arch/platform.h>
 #include <asm/arch/gpio.h>
index 21325a4da9da65bd23a13bc2587a81312ba0bb4e..3e706c57833aebc16a39e0f61a1fa1356e4ed730 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/clk.h>
 #include <linux/mutex.h>
 
-#include <asm/semaphore.h>
 #include <asm/hardware/icst307.h>
 
 #include "clock.h"
index 9858c96560e247e2b5cf92a263907b85cb5c9f6d..9336508ec0b2b1311bbf6c0ceda0fdaa40d8910d 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/clk.h>
 #include <linux/mutex.h>
 
-#include <asm/semaphore.h>
 #include <asm/hardware/icst307.h>
 
 #include "clock.h"
index 0a603242f36712e1060542f6c14c97efd3100a76..203ac508b6b59b8bd78faa9be98bce68d0f360f9 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/platform_device.h>
 
 #include <asm/io.h>
-#include <asm/semaphore.h>
 
 #include <asm/arch/clock.h>
 
index 4b0d1538e7e5586450fd2fe39c363af2768bdc35..8cc0c4753d8933a5558a6e073a8b320bd1e0ff0f 100644 (file)
@@ -37,7 +37,6 @@
 
 #include <asm/processor.h>
 #include <asm/topology.h>
-#include <asm/semaphore.h>
 #include <asm/uaccess.h>
 #include <asm/sal.h>
 #include <asm/sn/io.h>
index 0055a6c06f755a9aa2ab0f10301782ecf4ab632e..04c69ffbea71635b23a1652e9c6159e37eb8f82c 100644 (file)
@@ -29,7 +29,6 @@
 #include <asm/atarihw.h>
 #include <asm/atari_stram.h>
 #include <asm/io.h>
-#include <asm/semaphore.h>
 
 #undef DEBUG
 
index db359d7402a6e3ef8b2b6dc46a26c6b539f2b958..0116d208d300c7cb996a4d11fc34481c2c2be138 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <asm/errno.h>
 #include <asm/system.h>
-#include <asm/semaphore.h>
 #include <asm/rtc.h>
 #include <asm/intersil.h>
 
index 3ba830651c58f93d317212a04b784b00d6a17155..984e561f0f7ad58aca4a6a58d8644b79f1ad0fbf 100644 (file)
@@ -8,7 +8,6 @@
 #include <linux/init.h>
 
 #include <asm/page.h>
-#include <asm/semaphore.h>
 #include <asm/sn/addrs.h>
 #include <asm/sn/sn0/hub.h>
 #include <asm/sn/klconfig.h>
index 50bbf33ee00c3d6d40d692640a9c8669faba6d97..71efd6a28e2a39b60a3151836d50facd9594984f 100644 (file)
@@ -49,7 +49,6 @@
 
 #include <asm/types.h>
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 #include <asm/mmu_context.h>
 
 #include "sys32.h"
index 52e95c2158c02418789d3e238b96b31ee42aa9d1..fe8d951468936c32b8c61f70add77642b45f7c15 100644 (file)
@@ -26,7 +26,6 @@
 #include <asm/prom.h>
 #include <asm/rtas.h>
 #include <asm/hvcall.h>
-#include <asm/semaphore.h>
 #include <asm/machdep.h>
 #include <asm/firmware.h>
 #include <asm/page.h>
index 4a4f5c6b560bb6608cd133e6387929b056990570..fee9ee2260b1dc84377ab1ffba4bca3b632a8ad1 100644 (file)
@@ -47,7 +47,6 @@
 #include <asm/types.h>
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
-#include <asm/semaphore.h>
 #include <asm/time.h>
 #include <asm/mmu_context.h>
 #include <asm/ppc-pci.h>
index 3b1d5dd65643a0530c2503330a0b88fe48853cfa..e722a4eeb5d0fc4a0a8150900b378fe38969e2bb 100644 (file)
@@ -38,7 +38,6 @@
 #include <linux/personality.h>
 
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 #include <asm/syscalls.h>
 #include <asm/time.h>
 #include <asm/unistd.h>
index f7a7e8635fb6f98d11ab8aa5bf5cf3d2d6f49bf8..c7df0a6cfa1bd5828a94f0a29f3a1fb54cf7599a 100644 (file)
@@ -32,7 +32,6 @@
 #include <linux/marker.h>
 
 #include <asm/io.h>
-#include <asm/semaphore.h>
 #include <asm/spu.h>
 #include <asm/spu_info.h>
 #include <asm/uaccess.h>
index 6d1228c66c5e59bbff35e1abcc75b94f23e0740d..0c32a05ab068a1487485d8871ce26a847d50a784 100644 (file)
@@ -35,7 +35,6 @@
 #include <linux/parser.h>
 
 #include <asm/prom.h>
-#include <asm/semaphore.h>
 #include <asm/spu.h>
 #include <asm/spu_priv1.h>
 #include <asm/uaccess.h>
index 85434231ae14d5658be4d6c122d8ab78d8f27ed1..96d5ce50364eab840571b216c10819e71834408d 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 
-#include <asm/semaphore.h>
 #include <asm/prom.h>
 #include <asm/pmac_pfunc.h>
 
index ac80370ed2f75fddac17e09eff6f633d289ffe14..a6fb7dcfa7381d0d1fa28099724f557803e3f357 100644 (file)
@@ -49,7 +49,6 @@
 #include <asm/io.h>
 #include <asm/ocp.h>
 #include <asm/errno.h>
-#include <asm/semaphore.h>
 
 //#define DBG(x)       printk x
 #define DBG(x)
index 50b85d07ddd250ce81a1104ae59793b76a7ec507..d7f22226fc4ec61a569f258c2e0903bbd0c121f3 100644 (file)
@@ -62,7 +62,6 @@
 
 #include <asm/types.h>
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 
 #include <net/scm.h>
 #include <net/sock.h>
index 1e7d4ac7068bbfbd9b89d7823ac5ee085e2bf80d..dff0568e67ec8869fa427b7769b0ca329b561650 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/ctype.h>
 #include <linux/sysctl.h>
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/fs.h>
index 2455fa498876f344b0c00db0800bbd1718acead0..c1a61e98899a7ec741db282798bfdaddbdc4763d 100644 (file)
@@ -55,7 +55,6 @@
 #include <asm/types.h>
 #include <asm/uaccess.h>
 #include <asm/fpumacro.h>
-#include <asm/semaphore.h>
 #include <asm/mmu_context.h>
 #include <asm/compat_signal.h>
 
index 0a4df4d6e05fcf3b03acd138b54a0520444ce5c3..003db9c8c44aa4fc9934c7cff03169af05a96e25 100644 (file)
@@ -30,7 +30,6 @@
 #include <linux/file.h>
 
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 #include <asm/unistd.h>
 
 /*
index 7cede7a9e0dc4831cf80349ce2a049b88cf8cab8..f00afdf61e6735bbee01085fa24dc42ea529bed7 100644 (file)
@@ -43,7 +43,6 @@
 #include <asm/mman.h>
 #include <asm/types.h>
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 #include <asm/atomic.h>
 #include <asm/ia32.h>
 #include <asm/vgtod.h>
index d999d7833bc2e15951b35e7d514f48684435f8c1..35b4f6a9c8effca5b2a609aedb669417d26b5f66 100644 (file)
@@ -5,7 +5,6 @@
 #include <linux/module.h>
 #include <linux/percpu.h>
 #include <linux/bootmem.h>
-#include <asm/semaphore.h>
 #include <asm/processor.h>
 #include <asm/i387.h>
 #include <asm/msr.h>
index 0978a4a39418acd6c9cdabcb0dc85d38b5785d55..0d0d9057e7c0b63b36591385d89397ff7322bd99 100644 (file)
@@ -1,7 +1,6 @@
 #include <linux/smp.h>
 #include <linux/timex.h>
 #include <linux/string.h>
-#include <asm/semaphore.h>
 #include <linux/seq_file.h>
 #include <linux/cpufreq.h>