include: Remove unnecessary inclusions of asm/semaphore.h

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>
This commit is contained in:
Matthew Wilcox 2008-02-26 10:00:17 -05:00 committed by Matthew Wilcox
parent cb688371e2
commit 5a6483feb0
13 changed files with 0 additions and 15 deletions

View File

@ -33,7 +33,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/signal.h> #include <asm/signal.h>
#include <asm/semaphore.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <asm/mach/dma.h> #include <asm/mach/dma.h>

View File

@ -9,7 +9,6 @@
#define _ASM_IA64_SN_NODEPDA_H #define _ASM_IA64_SN_NODEPDA_H
#include <asm/semaphore.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/sn/arch.h> #include <asm/sn/arch.h>
#include <asm/sn/intr.h> #include <asm/sn/intr.h>

View File

@ -31,7 +31,6 @@
#include <asm/mmu.h> #include <asm/mmu.h>
#include <asm/ocp_ids.h> #include <asm/ocp_ids.h>
#include <asm/semaphore.h>
#ifdef CONFIG_PPC_OCP #ifdef CONFIG_PPC_OCP

View File

@ -23,7 +23,6 @@
#include <linux/node.h> #include <linux/node.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <asm/semaphore.h>
#include <linux/mutex.h> #include <linux/mutex.h>
struct cpu { struct cpu {

View File

@ -23,7 +23,6 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/semaphore.h>
#include <asm/mutex.h> #include <asm/mutex.h>
#if defined(CONFIG_CRIS) || defined(CONFIG_FRV) #if defined(CONFIG_CRIS) || defined(CONFIG_FRV)

View File

@ -24,7 +24,6 @@
#include <linux/if_ether.h> #include <linux/if_ether.h>
#include <linux/if.h> #include <linux/if.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <asm/semaphore.h>
#include <linux/ppp_channel.h> #include <linux/ppp_channel.h>
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#include <linux/if_pppol2tp.h> #include <linux/if_pppol2tp.h>

View File

@ -32,8 +32,6 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/lockdep.h> #include <linux/lockdep.h>
#include <asm/semaphore.h>
#define journal_oom_retry 1 #define journal_oom_retry 1
/* /*

View File

@ -30,8 +30,6 @@
#include <linux/bit_spinlock.h> #include <linux/bit_spinlock.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/timer.h> #include <linux/timer.h>
#include <asm/semaphore.h>
#endif #endif
#define journal_oom_retry 1 #define journal_oom_retry 1

View File

@ -48,7 +48,6 @@ typedef struct kcapi_carddef {
#include <linux/list.h> #include <linux/list.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <asm/semaphore.h>
#define KCI_CONTRUP 0 /* arg: struct capi_profile */ #define KCI_CONTRUP 0 /* arg: struct capi_profile */
#define KCI_CONTRDOWN 1 /* arg: NULL */ #define KCI_CONTRDOWN 1 /* arg: NULL */

View File

@ -19,7 +19,6 @@
#define _MD_H #define _MD_H
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <asm/semaphore.h>
#include <linux/major.h> #include <linux/major.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
#include <linux/types.h> #include <linux/types.h>

View File

@ -61,7 +61,6 @@ struct sched_param {
#include <linux/mm_types.h> #include <linux/mm_types.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/semaphore.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/cputime.h> #include <asm/cputime.h>

View File

@ -60,7 +60,6 @@ struct getcpu_cache;
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/sem.h> #include <linux/sem.h>
#include <asm/semaphore.h>
#include <asm/siginfo.h> #include <asm/siginfo.h>
#include <asm/signal.h> #include <asm/signal.h>
#include <linux/quota.h> #include <linux/quota.h>

View File

@ -32,7 +32,6 @@
#include <scsi/sas.h> #include <scsi/sas.h>
#include <linux/libata.h> #include <linux/libata.h>
#include <linux/list.h> #include <linux/list.h>
#include <asm/semaphore.h>
#include <scsi/scsi_device.h> #include <scsi/scsi_device.h>
#include <scsi/scsi_cmnd.h> #include <scsi/scsi_cmnd.h>
#include <scsi/scsi_transport_sas.h> #include <scsi/scsi_transport_sas.h>