]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
include: Remove unnecessary inclusions of asm/semaphore.h
authorMatthew Wilcox <matthew@wil.cx>
Tue, 26 Feb 2008 15:00:17 +0000 (10:00 -0500)
committerMatthew Wilcox <willy@linux.intel.com>
Sat, 19 Apr 2008 02:16:54 +0000 (22:16 -0400)
None of these files use any of the functionality promised by
asm/semaphore.h.  It's possible that they (or some user of them) rely
on it dragging in some unrelated header file, but I can't build all
these files, so we'll have to fix any build failures as they come up.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
13 files changed:
include/asm-blackfin/dma.h
include/asm-ia64/sn/nodepda.h
include/asm-ppc/ocp.h
include/linux/cpu.h
include/linux/ide.h
include/linux/if_pppox.h
include/linux/jbd.h
include/linux/jbd2.h
include/linux/kernelcapi.h
include/linux/raid/md.h
include/linux/sched.h
include/linux/syscalls.h
include/scsi/libsas.h

index 5abaa2cee8dbd7da51d937ab4c77bc85daaa25e9..16d493574ba8cb97e4ee78a2cd62420909e4b6bd 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/slab.h>
 #include <asm/irq.h>
 #include <asm/signal.h>
-#include <asm/semaphore.h>
 
 #include <linux/kernel.h>
 #include <asm/mach/dma.h>
index 6f6d69e39ff59075af1637eb986ae1aefb855bc9..ee118b901de479e065ccc1cf361c1db141680f4c 100644 (file)
@@ -9,7 +9,6 @@
 #define _ASM_IA64_SN_NODEPDA_H
 
 
-#include <asm/semaphore.h>
 #include <asm/irq.h>
 #include <asm/sn/arch.h>
 #include <asm/sn/intr.h>
index 1379a4f76de3bf51af5273949dfb5c96e4f6a82b..3909a2eec286d8b38a364c8263149ce8ba975eec 100644 (file)
@@ -31,7 +31,6 @@
 
 #include <asm/mmu.h>
 #include <asm/ocp_ids.h>
-#include <asm/semaphore.h>
 
 #ifdef CONFIG_PPC_OCP
 
index 0be8d65bc3c8538b62c2f5493dcc8c4008b96a54..f212fa98283e83425ea9db7ee2ba5e3de55e173b 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/node.h>
 #include <linux/compiler.h>
 #include <linux/cpumask.h>
-#include <asm/semaphore.h>
 #include <linux/mutex.h>
 
 struct cpu {
index 6c39482fd1a10e7eb4a7a74c17c3e29a000bfd66..5f3e82ae901a94a54a7e99602dca5f06052191d4 100644 (file)
@@ -23,7 +23,6 @@
 #include <asm/byteorder.h>
 #include <asm/system.h>
 #include <asm/io.h>
-#include <asm/semaphore.h>
 #include <asm/mutex.h>
 
 #if defined(CONFIG_CRIS) || defined(CONFIG_FRV)
index 40743e0328457116f44c8427a686ca740381a3cc..6fb7f1788570dc0a3cd428e5b8518672261819c4 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/if_ether.h>
 #include <linux/if.h>
 #include <linux/netdevice.h>
-#include <asm/semaphore.h>
 #include <linux/ppp_channel.h>
 #endif /* __KERNEL__ */
 #include <linux/if_pppol2tp.h>
index 423f58272188d58e9bf6155fe452710c3d61bf16..07a9b52a265418cb4b213ae8b1fff8e6eefbdd9d 100644 (file)
@@ -32,8 +32,6 @@
 #include <linux/timer.h>
 #include <linux/lockdep.h>
 
-#include <asm/semaphore.h>
-
 #define journal_oom_retry 1
 
 /*
index 2cbf6fdb17993409c40c4cc67db62a633ec858db..05e2b307161a4d7bee5482c5a9851e1110371aa4 100644 (file)
@@ -30,8 +30,6 @@
 #include <linux/bit_spinlock.h>
 #include <linux/mutex.h>
 #include <linux/timer.h>
-
-#include <asm/semaphore.h>
 #endif
 
 #define journal_oom_retry 1
index 8c4350a9ed87c40a78709045821dbff46b2a760e..a53e932f80fb29dc724ea5f6aa69fb042f536f54 100644 (file)
@@ -48,7 +48,6 @@ typedef struct kcapi_carddef {
 #include <linux/list.h>
 #include <linux/skbuff.h>
 #include <linux/workqueue.h>
-#include <asm/semaphore.h>
 
 #define        KCI_CONTRUP     0       /* arg: struct capi_profile */
 #define        KCI_CONTRDOWN   1       /* arg: NULL */
index fbaeda79b2e99fc41815760309e7509ebf4408d1..8ab630b67fcca8c3d0d58237915f2a8b3f0d936a 100644 (file)
@@ -19,7 +19,6 @@
 #define _MD_H
 
 #include <linux/blkdev.h>
-#include <asm/semaphore.h>
 #include <linux/major.h>
 #include <linux/ioctl.h>
 #include <linux/types.h>
index 6a1e7afb099bc981f91a23ac9698e7244bab4aa0..a37b5964828aa2da9ab851994ce21dc0ac65d47b 100644 (file)
@@ -61,7 +61,6 @@ struct sched_param {
 #include <linux/mm_types.h>
 
 #include <asm/system.h>
-#include <asm/semaphore.h>
 #include <asm/page.h>
 #include <asm/ptrace.h>
 #include <asm/cputime.h>
index 4c2577bd1c859c332821b2be75a378010d258c46..8df6d1382ac8280b7446df8af3898ea8b0b4d588 100644 (file)
@@ -60,7 +60,6 @@ struct getcpu_cache;
 #include <linux/capability.h>
 #include <linux/list.h>
 #include <linux/sem.h>
-#include <asm/semaphore.h>
 #include <asm/siginfo.h>
 #include <asm/signal.h>
 #include <linux/quota.h>
index 98724ba65a79751d483e4aeb3ec4cd449b17bb2d..e78d3b62d8ec76d5bce350f9f996bcdd26439670 100644 (file)
@@ -32,7 +32,6 @@
 #include <scsi/sas.h>
 #include <linux/libata.h>
 #include <linux/list.h>
-#include <asm/semaphore.h>
 #include <scsi/scsi_device.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_transport_sas.h>