diff options
Diffstat (limited to 'arch/powerpc/kernel/audit.c')
-rw-r--r-- | arch/powerpc/kernel/audit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/audit.c b/arch/powerpc/kernel/audit.c index 66d54bada0bf..a4dab7cab348 100644 --- a/arch/powerpc/kernel/audit.c +++ b/arch/powerpc/kernel/audit.c | |||
@@ -28,6 +28,15 @@ static unsigned signal_class[] = { | |||
28 | ~0U | 28 | ~0U |
29 | }; | 29 | }; |
30 | 30 | ||
31 | int audit_classify_arch(int arch) | ||
32 | { | ||
33 | #ifdef CONFIG_PPC64 | ||
34 | if (arch == AUDIT_ARCH_PPC) | ||
35 | return 1; | ||
36 | #endif | ||
37 | return 0; | ||
38 | } | ||
39 | |||
31 | int audit_classify_syscall(int abi, unsigned syscall) | 40 | int audit_classify_syscall(int abi, unsigned syscall) |
32 | { | 41 | { |
33 | #ifdef CONFIG_PPC64 | 42 | #ifdef CONFIG_PPC64 |