diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 12:45:57 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 12:45:57 -0400 |
| commit | e945e849e18006c131fe59252ab920c6b5f7959c (patch) | |
| tree | a86b1a299c5cebed14889fb638cb6808417b5f4a /arch/sparc64/kernel/audit.c | |
| parent | 77a50df2b14c8d3ee3c58c21c4a0e0157570df09 (diff) | |
| parent | 194f1a68b93e959ede6ec363db4714e630bdbb6a (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc: video drivers: add facility level
sparc: tcx.c make tcx_init and tcx_exit static
sparc: ffb.c make ffb_init and ffb_exit static
sparc: cg14.c make cg14_init and cg15_exit static
sparc: bw2.c fix bw2_exit
sparc64: Fix accidental syscall restart on child return from clone/fork/vfork.
sparc64: Clean up handling of pt_regs trap type encoding.
sparc: Remove old style signal frame support.
sparc64: Kill bogus RT_ALIGNEDSZ macro from signal.c
sparc: sunzilog.c remove unused argument
sparc: fix drivers/video/tcx.c warning
sparc64: Kill unused local ISA bus layer.
input: Rewrite sparcspkr device probing.
sparc64: Do not ignore 'pmu' device ranges.
sparc64: Kill ISA_FLOPPY_WORKS code.
sparc64: Kill CONFIG_SPARC32_COMPAT
sparc64: Cleanups and corrections for arch/sparc64/Kconfig
sparc64: Fix wedged irq regression.
Diffstat (limited to 'arch/sparc64/kernel/audit.c')
| -rw-r--r-- | arch/sparc64/kernel/audit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/audit.c b/arch/sparc64/kernel/audit.c index 24d7f4b4178a..8fff0ac63d56 100644 --- a/arch/sparc64/kernel/audit.c +++ b/arch/sparc64/kernel/audit.c | |||
| @@ -30,7 +30,7 @@ static unsigned signal_class[] = { | |||
| 30 | 30 | ||
| 31 | int audit_classify_arch(int arch) | 31 | int audit_classify_arch(int arch) |
| 32 | { | 32 | { |
| 33 | #ifdef CONFIG_SPARC32_COMPAT | 33 | #ifdef CONFIG_COMPAT |
| 34 | if (arch == AUDIT_ARCH_SPARC) | 34 | if (arch == AUDIT_ARCH_SPARC) |
| 35 | return 1; | 35 | return 1; |
| 36 | #endif | 36 | #endif |
| @@ -39,7 +39,7 @@ int audit_classify_arch(int arch) | |||
| 39 | 39 | ||
| 40 | int audit_classify_syscall(int abi, unsigned syscall) | 40 | int audit_classify_syscall(int abi, unsigned syscall) |
| 41 | { | 41 | { |
| 42 | #ifdef CONFIG_SPARC32_COMPAT | 42 | #ifdef CONFIG_COMPAT |
| 43 | extern int sparc32_classify_syscall(unsigned); | 43 | extern int sparc32_classify_syscall(unsigned); |
| 44 | if (abi == AUDIT_ARCH_SPARC) | 44 | if (abi == AUDIT_ARCH_SPARC) |
| 45 | return sparc32_classify_syscall(syscall); | 45 | return sparc32_classify_syscall(syscall); |
| @@ -60,7 +60,7 @@ int audit_classify_syscall(int abi, unsigned syscall) | |||
| 60 | 60 | ||
| 61 | static int __init audit_classes_init(void) | 61 | static int __init audit_classes_init(void) |
| 62 | { | 62 | { |
| 63 | #ifdef CONFIG_SPARC32_COMPAT | 63 | #ifdef CONFIG_COMPAT |
| 64 | extern __u32 sparc32_dir_class[]; | 64 | extern __u32 sparc32_dir_class[]; |
| 65 | extern __u32 sparc32_write_class[]; | 65 | extern __u32 sparc32_write_class[]; |
| 66 | extern __u32 sparc32_read_class[]; | 66 | extern __u32 sparc32_read_class[]; |
