Commit 5a6483fe authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Matthew Wilcox

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: default avatarMatthew Wilcox <willy@linux.intel.com>
parent cb688371
...@@ -33,7 +33,6 @@ ...@@ -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>
......
...@@ -9,7 +9,6 @@ ...@@ -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>
......
...@@ -31,7 +31,6 @@ ...@@ -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
......
...@@ -23,7 +23,6 @@ ...@@ -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 {
......
...@@ -23,7 +23,6 @@ ...@@ -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)
......
...@@ -24,7 +24,6 @@ ...@@ -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>
......
...@@ -32,8 +32,6 @@ ...@@ -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
/* /*
......
...@@ -30,8 +30,6 @@ ...@@ -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
......
...@@ -48,7 +48,6 @@ typedef struct kcapi_carddef { ...@@ -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 */
......
...@@ -19,7 +19,6 @@ ...@@ -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>
......
...@@ -61,7 +61,6 @@ struct sched_param { ...@@ -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>
......
...@@ -60,7 +60,6 @@ struct getcpu_cache; ...@@ -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>
......
...@@ -32,7 +32,6 @@ ...@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment