[RFC PATCH V1 8/8] powerpc: Disable kasan for kernel/ and mm/ directory

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Mon Aug 17 16:36:40 AEST 2015


Without this we hit a boot hang, which i am still looking. Till then
disable kasan for kernel/ and mm/ directory

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
---
 arch/powerpc/kernel/Makefile | 1 +
 arch/powerpc/mm/Makefile     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index a158a5fd82c2..b3b0079bccad 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -3,6 +3,7 @@
 #
 
 CFLAGS_ptrace.o		+= -DUTS_MACHINE='"$(UTS_MACHINE)"'
+KASAN_SANITIZE := n
 
 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
 
diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile
index ffe8f8d92883..2be2a6998ecb 100644
--- a/arch/powerpc/mm/Makefile
+++ b/arch/powerpc/mm/Makefile
@@ -3,6 +3,7 @@
 #
 
 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
+KASAN_SANITIZE := n
 
 ccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
 
-- 
2.5.0



More information about the Linuxppc-dev mailing list