summaryrefslogtreecommitdiff
path: root/include/asm-s390/page.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>2005-05-01 08:58:58 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 08:58:58 -0700
commit0b642ede47969d4180b0922d982777fe64379228 (patch)
treeb54173402cfcd590976f639ef6c2f0490cc23c74 /include/asm-s390/page.h
parentc9e3735359ac2d74ee61c6f1e5724f4a6db570bf (diff)
downloadlinux-3.10-0b642ede47969d4180b0922d982777fe64379228.tar.gz
linux-3.10-0b642ede47969d4180b0922d982777fe64379228.tar.bz2
linux-3.10-0b642ede47969d4180b0922d982777fe64379228.zip
[PATCH] s390: default storage key
Provide an easy way to define a non-zero storage key at compile time. This is useful for debugging purposes. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/page.h')
-rw-r--r--include/asm-s390/page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/page.h b/include/asm-s390/page.h
index 614e2a93c70..2be287b9df8 100644
--- a/include/asm-s390/page.h
+++ b/include/asm-s390/page.h
@@ -16,6 +16,8 @@
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
+#define PAGE_DEFAULT_ACC 0
+#define PAGE_DEFAULT_KEY (PAGE_DEFAULT_ACC << 4)
#ifdef __KERNEL__
#ifndef __ASSEMBLY__