summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-11-26 00:51:32 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-04 09:17:06 -0800
commit9acee190c8c055f634475ad3f742ff07049dd51e (patch)
tree4c6132348769a82d189b50325cd68676e1deba72 /arch/sparc64/kernel
parent422e23ea0865177b61527874b1b80023e4215d67 (diff)
sparc: combine unistd_{32,64}.h
This is complicated a little because compat_audit.c wants to see only the 32bit syscall numbers, but is being built in a 64bit compile. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/compat_audit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/compat_audit.c b/arch/sparc64/kernel/compat_audit.c
index c831b0a4e66..d865575b25b 100644
--- a/arch/sparc64/kernel/compat_audit.c
+++ b/arch/sparc64/kernel/compat_audit.c
@@ -1,4 +1,5 @@
-#include <asm/unistd_32.h>
+#define __32bit_syscall_numbers__
+#include <asm/unistd.h>
unsigned sparc32_dir_class[] = {
#include <asm-generic/audit_dir_write.h>