summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-11-25 12:54:46 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-12-18 14:59:24 +0100
commitf3d05f9de75e233d8f1090af91fc6c23ddc600e8 (patch)
treebb72a98f9517f6fd1db31ffff2c1ef98151b19f1 /arch/s390/include
parents390/facilities: optimize test_facility() (diff)
downloadlinux-f3d05f9de75e233d8f1090af91fc6c23ddc600e8.tar.xz
linux-f3d05f9de75e233d8f1090af91fc6c23ddc600e8.zip
s390/facilities: add z13 als bit
If configured for z13 assume the kernel makes use of the instructions that are part of the load-and-zero-rightmost-byte facility and load/store-on-condition facility 2. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/facilities_src.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/facilities_src.h b/arch/s390/include/asm/facilities_src.h
index 493e88b4941c..4917728e5828 100644
--- a/arch/s390/include/asm/facilities_src.h
+++ b/arch/s390/include/asm/facilities_src.h
@@ -49,6 +49,9 @@ static struct facility_def facility_defs[] = {
49, /* misc-instruction-extensions */
52, /* interlocked facility 2 */
#endif
+#ifdef CONFIG_HAVE_MARCH_Z13_FEATURES
+ 53, /* load-and-zero-rightmost-byte, etc. */
+#endif
-1 /* END */
}
},