OSDN Git Service

s390/suspend: fix prefix register reset in swsusp_arch_resume
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Mar 2019 14:28:09 +0000 (15:28 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Mar 2019 15:23:27 +0000 (16:23 +0100)
commitc8e8ed386a5191d8011d32b5663da10320e7d552
treea694a18a69c87c2c826a6171cd75b0b2cd766602
parent6d85dac2ab9292956b5864daee8e11c4e158a566
s390/suspend: fix prefix register reset in swsusp_arch_resume

The reset of the prefix to zero in swsusp_arch_resume uses a 4 byte stack
slot. With CONFIG_VMAP_STACK=y this is now in the vmalloc area, this works
only with DAT enabled. Move the DAT disable in swsusp_arch_resume after
the prefix reset.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/swsusp.S