aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-02-26 09:55:29 -0500
committerMatthew Wilcox <willy@linux.intel.com>2008-04-18 22:14:49 -0400
commit950e4da32426859ee4b37b2c95026d4f1efa5d05 (patch)
tree7df9bb4b97d4e1ecde571611ceee76d128e5dfc6 /arch/powerpc/kernel
parent3925e6fc1f774048404fdd910b0345b06c699eb4 (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/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/rtas.c1
-rw-r--r--arch/powerpc/kernel/sys_ppc32.c1
-rw-r--r--arch/powerpc/kernel/syscalls.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index 52e95c2158c..fe8d9514689 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -26,7 +26,6 @@
26#include <asm/prom.h> 26#include <asm/prom.h>
27#include <asm/rtas.h> 27#include <asm/rtas.h>
28#include <asm/hvcall.h> 28#include <asm/hvcall.h>
29#include <asm/semaphore.h>
30#include <asm/machdep.h> 29#include <asm/machdep.h>
31#include <asm/firmware.h> 30#include <asm/firmware.h>
32#include <asm/page.h> 31#include <asm/page.h>
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c
index 4a4f5c6b560..fee9ee2260b 100644
--- a/arch/powerpc/kernel/sys_ppc32.c
+++ b/arch/powerpc/kernel/sys_ppc32.c
@@ -47,7 +47,6 @@
47#include <asm/types.h> 47#include <asm/types.h>
48#include <asm/uaccess.h> 48#include <asm/uaccess.h>
49#include <asm/unistd.h> 49#include <asm/unistd.h>
50#include <asm/semaphore.h>
51#include <asm/time.h> 50#include <asm/time.h>
52#include <asm/mmu_context.h> 51#include <asm/mmu_context.h>
53#include <asm/ppc-pci.h> 52#include <asm/ppc-pci.h>
diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c
index 3b1d5dd6564..e722a4eeb5d 100644
--- a/arch/powerpc/kernel/syscalls.c
+++ b/arch/powerpc/kernel/syscalls.c
@@ -38,7 +38,6 @@
38#include <linux/personality.h> 38#include <linux/personality.h>
39 39
40#include <asm/uaccess.h> 40#include <asm/uaccess.h>
41#include <asm/semaphore.h>
42#include <asm/syscalls.h> 41#include <asm/syscalls.h>
43#include <asm/time.h> 42#include <asm/time.h>
44#include <asm/unistd.h> 43#include <asm/unistd.h>