]> 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>
Tue, 8 Nov 2011 14:17:14 +0000 (15:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Nov 2011 14:17:21 +0000 (15:17 +0100)
commit827b0f876611207f3929f14d909a6564b30cfbc4
tree0fbed8198433d41576822e185f82da03dbdb0e1a
parent29aacfdf7f424680bba1c6bdb20419e81c02ff4a
[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