]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] avoid STCKF if running in ESA mode
authorJan Glauber <jang@linux.vnet.ibm.com>
Mon, 14 Nov 2011 10:19:06 +0000 (11:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 14 Nov 2011 10:19:09 +0000 (11:19 +0100)
commit3dda6645782dd1d285fadafdd6ed5565b2e0c13c
treeb2e647a1511d841a2f9b33d1386891de3472bbdf
parent67b6aab4b9c7b4fd5c4e60bf0c9f271290d41915
[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