|
@@ -49,6 +49,7 @@ static unsigned long sclp_hsa_size;
|
|
static unsigned int sclp_max_cpu;
|
|
static unsigned int sclp_max_cpu;
|
|
static struct sclp_ipl_info sclp_ipl_info;
|
|
static struct sclp_ipl_info sclp_ipl_info;
|
|
static unsigned char sclp_siif;
|
|
static unsigned char sclp_siif;
|
|
|
|
+static unsigned char sclp_sigpif;
|
|
static u32 sclp_ibc;
|
|
static u32 sclp_ibc;
|
|
|
|
|
|
u64 sclp_facilities;
|
|
u64 sclp_facilities;
|
|
@@ -131,6 +132,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
|
|
if (boot_cpu_address != cpue->address)
|
|
if (boot_cpu_address != cpue->address)
|
|
continue;
|
|
continue;
|
|
sclp_siif = cpue->siif;
|
|
sclp_siif = cpue->siif;
|
|
|
|
+ sclp_sigpif = cpue->sigpif;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -172,6 +174,12 @@ int sclp_has_siif(void)
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(sclp_has_siif);
|
|
EXPORT_SYMBOL(sclp_has_siif);
|
|
|
|
|
|
|
|
+int sclp_has_sigpif(void)
|
|
|
|
+{
|
|
|
|
+ return sclp_sigpif;
|
|
|
|
+}
|
|
|
|
+EXPORT_SYMBOL(sclp_has_sigpif);
|
|
|
|
+
|
|
unsigned int sclp_get_ibc(void)
|
|
unsigned int sclp_get_ibc(void)
|
|
{
|
|
{
|
|
return sclp_ibc;
|
|
return sclp_ibc;
|