[S390] sclp: Test facility list before executing a service call.
[deliverable/linux.git] / drivers / s390 / char / sclp.h
index cb5888f790077ff479e5c3a95889c81a3b985efb..c7318a125852e37c94f0359ba2ce0d7e7d4d8912 100644 (file)
@@ -79,6 +79,11 @@ struct sccb_header {
        u16     response_code;
 } __attribute__((packed));
 
+extern u64 sclp_facilities;
+
+#define SCLP_HAS_CHP_INFO      (sclp_facilities & 0x8000000000000000ULL)
+#define SCLP_HAS_CHP_RECONFIG  (sclp_facilities & 0x2000000000000000ULL)
+
 struct gds_subvector {
        u8      length;
        u8      key;
This page took 0.025868 seconds and 5 git commands to generate.