projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b5298
)
s390/kasan: make kasan header self-contained
author
Vasily Gorbik
<gor@linux.ibm.com>
Mon, 5 Oct 2020 07:07:43 +0000
(09:07 +0200)
committer
Heiko Carstens
<hca@linux.ibm.com>
Mon, 9 Nov 2020 10:20:59 +0000
(11:20 +0100)
It is relying on _REGION1_SHIFT / _REGION2_SHIFT values which come from
asm/pgtable.h, so include it.
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/kasan.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/kasan.h
b/arch/s390/include/asm/kasan.h
index 0313f055f8c9507b38c32a0d4ba570e88191c9cd..eea62586e71965a6faf2e9d5478a685afcbde8fa 100644
(file)
--- a/
arch/s390/include/asm/kasan.h
+++ b/
arch/s390/include/asm/kasan.h
@@
-2,6
+2,8
@@
#ifndef __ASM_KASAN_H
#define __ASM_KASAN_H
+#include <asm/pgtable.h>
+
#ifdef CONFIG_KASAN
#define KASAN_SHADOW_SCALE_SHIFT 3