Skip to content

Commit 3fc928d

Browse files
committed
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
2 parents 60d7a21 + f8d0cbf commit 3fc928d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/xtensa/include/asm/kasan.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <linux/sizes.h>
1111
#include <asm/kmem_layout.h>
1212

13+
#define KASAN_SHADOW_SCALE_SHIFT 3
14+
1315
/* Start of area covered by KASAN */
1416
#define KASAN_START_VADDR __XTENSA_UL_CONST(0x90000000)
1517
/* Start of the shadow map */

0 commit comments

Comments
 (0)