diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-02-26 09:55:29 -0500 |
---|---|---|
committer | Matthew Wilcox <willy@linux.intel.com> | 2008-04-18 22:14:49 -0400 |
commit | 950e4da32426859ee4b37b2c95026d4f1efa5d05 (patch) | |
tree | 7df9bb4b97d4e1ecde571611ceee76d128e5dfc6 /arch/x86 | |
parent | 3925e6fc1f774048404fdd910b0345b06c699eb4 (diff) |
arch: 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 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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/ia32/sys_ia32.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/proc.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index 7cede7a9e0dc..f00afdf61e67 100644 --- a/arch/x86/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <asm/mman.h> | 43 | #include <asm/mman.h> |
44 | #include <asm/types.h> | 44 | #include <asm/types.h> |
45 | #include <asm/uaccess.h> | 45 | #include <asm/uaccess.h> |
46 | #include <asm/semaphore.h> | ||
47 | #include <asm/atomic.h> | 46 | #include <asm/atomic.h> |
48 | #include <asm/ia32.h> | 47 | #include <asm/ia32.h> |
49 | #include <asm/vgtod.h> | 48 | #include <asm/vgtod.h> |
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index d999d7833bc2..35b4f6a9c8ef 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -5,7 +5,6 @@ | |||
5 | #include <linux/module.h> | 5 | #include <linux/module.h> |
6 | #include <linux/percpu.h> | 6 | #include <linux/percpu.h> |
7 | #include <linux/bootmem.h> | 7 | #include <linux/bootmem.h> |
8 | #include <asm/semaphore.h> | ||
9 | #include <asm/processor.h> | 8 | #include <asm/processor.h> |
10 | #include <asm/i387.h> | 9 | #include <asm/i387.h> |
11 | #include <asm/msr.h> | 10 | #include <asm/msr.h> |
diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 0978a4a39418..0d0d9057e7c0 100644 --- a/arch/x86/kernel/cpu/proc.c +++ b/arch/x86/kernel/cpu/proc.c | |||
@@ -1,7 +1,6 @@ | |||
1 | #include <linux/smp.h> | 1 | #include <linux/smp.h> |
2 | #include <linux/timex.h> | 2 | #include <linux/timex.h> |
3 | #include <linux/string.h> | 3 | #include <linux/string.h> |
4 | #include <asm/semaphore.h> | ||
5 | #include <linux/seq_file.h> | 4 | #include <linux/seq_file.h> |
6 | #include <linux/cpufreq.h> | 5 | #include <linux/cpufreq.h> |
7 | 6 | ||