Skip to content

Commit

Permalink
sparc: Always set AUDIT_ARCH, not just on sparc64.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Dec 6, 2008
1 parent 6c6bd8b commit 7e7e93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e7e93a

Please sign in to comment.