aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-11-26 03:51:32 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-04 12:17:06 -0500
commit9acee190c8c055f634475ad3f742ff07049dd51e (patch)
tree4c6132348769a82d189b50325cd68676e1deba72 /arch/sparc64
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')
-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 c831b0a4e660..d865575b25bf 100644
--- a/arch/sparc64/kernel/compat_audit.c
+++ b/arch/sparc64/kernel/compat_audit.c
@@ -1,4 +1,5 @@
1#include <asm/unistd_32.h> 1#define __32bit_syscall_numbers__
2#include <asm/unistd.h>
2 3
3unsigned sparc32_dir_class[] = { 4unsigned sparc32_dir_class[] = {
4#include <asm-generic/audit_dir_write.h> 5#include <asm-generic/audit_dir_write.h>