projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb594ec
)
s390: introduce MAX_PTRS_PER_P4D
author
Vasily Gorbik
<gor@linux.ibm.com>
Wed, 12 Sep 2018 11:23:58 +0000
(13:23 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Tue, 9 Oct 2018 09:21:18 +0000
(11:21 +0200)
Kasan common code requires MAX_PTRS_PER_P4D definition, which in case
of s390 is always PTRS_PER_P4D.
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/pgtable.h
b/arch/s390/include/asm/pgtable.h
index 0e7cb0dc9c33b7f5a8187df912aefb8b15c100fc..ffae5dc8b3cef06c22b2ab65a0ec587089d3314c 100644
(file)
--- a/
arch/s390/include/asm/pgtable.h
+++ b/
arch/s390/include/asm/pgtable.h
@@
-341,6
+341,8
@@
static inline int is_module_addr(void *addr)
#define PTRS_PER_P4D _CRST_ENTRIES
#define PTRS_PER_PGD _CRST_ENTRIES
+#define MAX_PTRS_PER_P4D PTRS_PER_P4D
+
/*
* Segment table and region3 table entry encoding
* (R = read-only, I = invalid, y = young bit):