]> 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, 10 Oct 2011 14:58:58 +0000 (16:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 10 Oct 2011 14:58:55 +0000 (16:58 +0200)
commit1f64dfd38fc7df25d9948ffde1d3e2b663199388
tree9c43f2788a5726689896c98a5c8dcc3dd6a7a507
parentcd1efa8479138cd9bf37736e047ec48a7f6193e1
[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