]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[S390] hibernation: fix lowcore handling
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 24 Jul 2009 10:39:49 +0000 (12:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 Jul 2009 10:41:00 +0000 (12:41 +0200)
commit5f954c3426190f7ae432a09abd62164d5d14c709
treec1e9fdd5f374f01c45da82ec5d972626b7c7bd80
parent4be3bd7849165e7efa6b0b35a23d6a3598d97465
[S390] hibernation: fix lowcore handling

Our swsusp_arch_suspend() backend implementation disables prefixing
by setting the contents of the prefix register to 0.
However afterwards common code functions are called which might
access percpu data structures.
Since the lowcore contains e.g. the percpu base pointer this isn't
a good idea. So fix this by copying the hibernating cpu's lowcore to
absolute address zero.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/early.c
arch/s390/power/swsusp_asm64.S