diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-05 22:18:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-05 22:18:40 -0800 |
commit | 7e7e93a22851f7bf0cbb7cd70878ebd811e4a044 (patch) | |
tree | 9c8e017dd19a9086b3d679362bea25d71dd895a2 /arch/sparc | |
parent | 6c6bd8b61d0c8ead18caaafb3490552565efbb64 (diff) | |
download | linux-7e7e93a22851f7bf0cbb7cd70878ebd811e4a044.tar.gz linux-7e7e93a22851f7bf0cbb7cd70878ebd811e4a044.tar.bz2 linux-7e7e93a22851f7bf0cbb7cd70878ebd811e4a044.zip |
sparc: Always set AUDIT_ARCH, not just on sparc64.
Without fancy makefile rules it's not straightforward
to prevent both arch/sparc/kernel/audit.o and lib/audit.o
from both being used on sparc32.
Since arch/sparc/kernel/audit.c is identical to lib/audit.c
except some CONFIG_COMPAT protected sections of code, just
use it on sparc32 too as that's the simplest way to fix
this.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index ecb5ff9f01fa..c8c7738f2a32 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -85,7 +85,7 @@ config HAVE_LATENCYTOP_SUPPORT config AUDIT_ARCH bool - default y if SPARC64 + default y config HAVE_SETUP_PER_CPU_AREA def_bool y if SPARC64 |