]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] check addressing mode in s390_enable_sie
authorCarsten Otte <cotte@de.ibm.com>
Thu, 26 Mar 2009 14:23:57 +0000 (15:23 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:09 +0000 (15:24 +0100)
commitfe378da4632f3e68a2ec84351c1d3f33f627e5e1
tree965f82b6d0d82e8492a97ac5a117ba47c26d1674
parentb6be1cfa7ec3647a189e416e47751b7e522a9bed
[S390] check addressing mode in s390_enable_sie

The sie instruction requires address spaces to be switched
to run proper. This patch verifies that this is the case
in s390_enable_sie, otherwise the kernel would crash badly
as soon as the process runs into sie.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/pgtable.c