]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: use correct address space when enabling DAT
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 1 Jun 2017 09:04:04 +0000 (11:04 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:26:02 +0000 (16:26 +0200)
commitb16064541ea81fb544c0df0b761a8361612badba
treeb73a961cf9ea724cc2e9a96f437e180eef6f6351
parent978b05c1ced4f6a8256bc764572382de42e073f7
s390/mm: use correct address space when enabling DAT

Right now the kernel uses the primary address space until finally the
switch to the correct home address space will be done when the idle
PSW will be loaded within psw_idle().

Correct this and simply use the home address space when DAT is enabled
for the first time.

This doesn't really fix a bug, but fixes odd behavior.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/init.c