]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] Add architecture code for unmapping crashkernel memory
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Mon, 26 Sep 2011 14:42:51 +0000 (16:42 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 26 Sep 2011 14:42:47 +0000 (16:42 +0200)
commitfe4baa90b009bcabb2b2f576e6aa721f3104e768
tree877a689bfc3878abc6a985be2e74d4bf76be624f
parent3fa05c8df1631f82422df70377a88b8ba0896d5c
[S390] Add architecture code for unmapping crashkernel memory

This patch implements the crash_map_pages() function for s390.
KEXEC_CRASH_MEM_ALIGN is set to HPAGE_SIZE, in order to support
kernel mappings that use large pages. We also use HPAGE_SIZE alignment
for CONFIG_HUGETLB_PAGE=n in order to have the same 1 MiB alignment on
all s390 systems.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/kexec.h
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/setup.c