linux/arch/s390
Martin Schwidefsky fb94a687d9 s390: TASK_SIZE for kernel threads
Return a sensible value if TASK_SIZE if called from a kernel thread.

This gets us around an issue with copy_mount_options that does a magic
size calculation "TASK_SIZE - (unsigned long)data" while in a kernel
thread and data pointing to kernel space.

Cc: <stable@vger.kernel.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-02-24 08:43:38 +01:00
..
appldata sched/cputime: Convert kcpustat to nsecs 2017-02-01 09:13:47 +01:00
boot s390/sclp: make early sclp code readable 2017-02-08 14:13:19 +01:00
configs s390/pkey: Introduce pkey kernel module 2017-02-23 10:06:40 +01:00
crypto s390/crypt: Add protected key AES module 2017-02-24 08:31:44 +01:00
hypfs s390: hypfs: make inode explicitly non-modular 2016-10-31 17:55:40 +01:00
include s390: TASK_SIZE for kernel threads 2017-02-24 08:43:38 +01:00
kernel s390/nmi: purge tlbs after control register validation 2017-02-23 10:06:39 +01:00
kvm 4.11 is going to be a relatively large release for KVM, with a little over 2017-02-22 18:22:53 -08:00
lib s390: replace ACCESS_ONCE with READ_ONCE 2017-02-17 07:40:46 +01:00
mm s390/mm: use _SEGMENT_ENTRY_EMPTY in the code 2017-02-23 10:06:39 +01:00
net Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-02-22 10:20:04 -08:00
numa s390/numa: pin all possible cpus to nodes early 2016-12-07 07:23:33 +01:00
oprofile s390/dumpstack: restore reliable indicator for call traces 2016-10-17 14:44:30 +02:00
pci s390/pci: use proper endianness annotations 2017-01-16 07:27:53 +01:00
tools KVM: s390: instruction-execution-protection support 2017-01-30 11:17:28 +01:00
defconfig s390/pkey: Introduce pkey kernel module 2017-02-23 10:06:40 +01:00
Kbuild s390/numa: add core infrastructure 2015-08-03 18:40:25 +02:00
Kconfig s390: opt into HAVE_COPY_THREAD_TLS 2017-02-23 10:06:38 +01:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-02-22 10:20:04 -08:00
Makefile s390: add assembler include path for vx-insn.h 2016-09-06 11:00:04 +02:00