diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-10-16 08:17:29 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-10-24 11:17:12 -0400 |
commit | f26946d7ecad0afdd85e6ae56663d0fe26676b34 (patch) | |
tree | ff4bb03205420d7600d9e2b35b2c5d2e38e716a7 /arch/s390/include/asm | |
parent | 5ebf250dabbae83ad875f0dda5a108503cf78f3b (diff) |
s390/compat: make psw32_user_bits a constant value again
Make psw32_user_bits a constant value again.
This is a leftover of the code which allowed to run the kernel either
in primary or home space which got removed with 9a905662 "s390/uaccess:
always run the kernel in home space".
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/asm/compat.h b/arch/s390/include/asm/compat.h index 7604cabf02c0..4bf9da03591e 100644 --- a/arch/s390/include/asm/compat.h +++ b/arch/s390/include/asm/compat.h | |||
@@ -36,7 +36,9 @@ | |||
36 | #define PSW32_ASC_SECONDARY 0x00008000UL | 36 | #define PSW32_ASC_SECONDARY 0x00008000UL |
37 | #define PSW32_ASC_HOME 0x0000C000UL | 37 | #define PSW32_ASC_HOME 0x0000C000UL |
38 | 38 | ||
39 | extern u32 psw32_user_bits; | 39 | #define PSW32_USER_BITS (PSW32_MASK_DAT | PSW32_MASK_IO | PSW32_MASK_EXT | \ |
40 | PSW32_DEFAULT_KEY | PSW32_MASK_BASE | \ | ||
41 | PSW32_MASK_MCHECK | PSW32_MASK_PSTATE | PSW32_ASC_HOME) | ||
40 | 42 | ||
41 | #define COMPAT_USER_HZ 100 | 43 | #define COMPAT_USER_HZ 100 |
42 | #define COMPAT_UTS_MACHINE "s390\0\0\0\0" | 44 | #define COMPAT_UTS_MACHINE "s390\0\0\0\0" |