]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] avoid STCKF if running in ESA mode
authorJan Glauber <jang@linux.vnet.ibm.com>
Fri, 11 Nov 2011 16:18:53 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 11 Nov 2011 16:19:01 +0000 (17:19 +0100)
commita3c7892c66c7f3cb6b3cc2b50b932799f821290a
treee60152125f950b0f169bdcbf6bfbe20e8021c465
parent530e5528d7d466382eeeb92d172fc8bfbb5fe531
[S390] avoid STCKF if running in ESA mode

In ESA mode STCKF is not defined even if the facility bit is enabled.
To prevent an illegal operation we must also check if we run a 64 bit kernel.
To make the check perform well add the STCKF bit to the machine flags.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/setup.h
arch/s390/include/asm/timex.h
arch/s390/kernel/early.c