]> git.baikalelectronics.ru Git - kernel.git/commit
s390/compat: fix PSW32_USER_BITS definition
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 13 Jan 2014 12:35:16 +0000 (13:35 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 13 Jan 2014 15:50:21 +0000 (16:50 +0100)
commita6c4720dee60bbe0410acc74b3bc21c757fbf599
treefdefc5e46750720a2ff0704bf3d18a5d6b1607d7
parentae840d31fffde74839d15da09d10cc87f4ab2310
s390/compat: fix PSW32_USER_BITS definition

PSW32_USER_BITS should define the primary address space for user space
instead of the home address space.
Symptom of this bug is that gdb doesn't work in compat mode.

The bug was introduced with 781e3ed471ee "s390/uaccess: always run the kernel
in home space" and 6d09cc931ad2 "s390/compat: make psw32_user_bits a constant
value again".

Cc: stable@vger.kernel.org # v3.13+
Reported-by: Andreas Arnez <arnez@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/compat.h