]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pfault: do not use stack buffers for hardware data
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 7 Sep 2018 09:20:08 +0000 (11:20 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2018 09:20:54 +0000 (11:20 +0200)
commit3e898c2bd87a38045bb882dd078025e0e354700c
treea57a91fd43f1c1973a0731ff85d43c33b3003edc
parent6d56657eded8eb24e7d9c7c4f13ac39d057e5c5e
s390/pfault: do not use stack buffers for hardware data

With CONFIG_VMAP_STACK=y the stack is allocated from the vmalloc space.
Data structures passed to a hardware or a hypervisor interface that
requires V=R can not be allocated on the stack anymore.

Make the init and fini pfault parameter blocks static variables.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/fault.c