summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-02-11 22:54:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-11 22:54:52 +0100
commit3fc928dc5308f6533d0e8004c8c63b46709a5276 (patch)
tree97fe262892b85691899cda8d7a8aa8b67057d6d2 /arch
parentMerge tag 'nios2-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
parentxtensa: fix build with KASAN (diff)
downloadlinux-3fc928dc5308f6533d0e8004c8c63b46709a5276.tar.xz
linux-3fc928dc5308f6533d0e8004c8c63b46709a5276.zip
Merge tag 'xtensa-20180211' of git://github.com/jcmvbkbc/linux-xtensa
Pull xtense fix from Max Filippov: "Build fix for xtensa architecture with KASAN enabled" * tag 'xtensa-20180211' of git://github.com/jcmvbkbc/linux-xtensa: xtensa: fix build with KASAN
Diffstat (limited to 'arch')
-rw-r--r--arch/xtensa/include/asm/kasan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/kasan.h b/arch/xtensa/include/asm/kasan.h
index 54be80876e57..216b6f32c375 100644
--- a/arch/xtensa/include/asm/kasan.h
+++ b/arch/xtensa/include/asm/kasan.h
@@ -10,6 +10,8 @@
#include <linux/sizes.h>
#include <asm/kmem_layout.h>
+#define KASAN_SHADOW_SCALE_SHIFT 3
+
/* Start of area covered by KASAN */
#define KASAN_START_VADDR __XTENSA_UL_CONST(0x90000000)
/* Start of the shadow map */