summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-02-11 13:54:52 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-11 13:54:52 -0800
commit3fc928dc5308f6533d0e8004c8c63b46709a5276 (patch)
tree97fe262892b85691899cda8d7a8aa8b67057d6d2 /arch
parent60d7a21aedad7cd2dc9c27ca04fb8486aa6fb7da (diff)
parentf8d0cbf28df14b6b6801f027a396fd593971a922 (diff)
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 */