summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/compat_audit.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:26:08 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-18 19:01:34 -0700
commita1ca187e7dd73b7aa8fffe70b6d04d38361df208 (patch)
treebb722ca5b67ac38322c1e57b592036ab39398741 /arch/sparc/kernel/compat_audit.c
parent59dec13b2736117c35e2432fc6e241263f7b4a9b (diff)
downloadblackbird-obmc-linux-a1ca187e7dd73b7aa8fffe70b6d04d38361df208.tar.gz
blackbird-obmc-linux-a1ca187e7dd73b7aa8fffe70b6d04d38361df208.zip
sparc64: fix sparse warnings in compat_audit.c
Fix following warnings: compat_audit.c:4:10: warning: symbol 'sparc32_dir_class' was not declared. Should it be static? compat_audit.c:9:10: warning: symbol 'sparc32_chattr_class' was not declared. Should it be static? compat_audit.c:14:10: warning: symbol 'sparc32_write_class' was not declared. Should it be static? compat_audit.c:19:10: warning: symbol 'sparc32_read_class' was not declared. Should it be static? compat_audit.c:24:10: warning: symbol 'sparc32_signal_class' was not declared. Should it be static? compat_audit.c:29:5: warning: symbol 'sparc32_classify_syscall' was not declared. Should it be static? Add declarations to kernel.h Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/compat_audit.c')
-rw-r--r--arch/sparc/kernel/compat_audit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/compat_audit.c b/arch/sparc/kernel/compat_audit.c
index d865575b25bf..7062263d09c1 100644
--- a/arch/sparc/kernel/compat_audit.c
+++ b/arch/sparc/kernel/compat_audit.c
@@ -1,5 +1,6 @@
#define __32bit_syscall_numbers__
#include <asm/unistd.h>
+#include "kernel.h"
unsigned sparc32_dir_class[] = {
#include <asm-generic/audit_dir_write.h>
OpenPOWER on IntegriCloud