Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e7e93a2 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c6bd8b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -85,7 +85,7 @@ config HAVE_LATENCYTOP_SUPPORT


config AUDIT_ARCH
config AUDIT_ARCH
	bool
	bool
	default y if SPARC64
	default y


config HAVE_SETUP_PER_CPU_AREA
config HAVE_SETUP_PER_CPU_AREA
	def_bool y if SPARC64
	def_bool y if SPARC64