|
@@ -704,6 +704,13 @@ int sclp_chp_deconfigure(struct chp_id chpid)
|
|
return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8);
|
|
return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+int arch_get_memory_phys_device(unsigned long start_pfn)
|
|
|
|
+{
|
|
|
|
+ if (!rzm)
|
|
|
|
+ return 0;
|
|
|
|
+ return PFN_PHYS(start_pfn) / rzm;
|
|
|
|
+}
|
|
|
|
+
|
|
struct chp_info_sccb {
|
|
struct chp_info_sccb {
|
|
struct sccb_header header;
|
|
struct sccb_header header;
|
|
u8 recognized[SCLP_CHP_INFO_MASK_SIZE];
|
|
u8 recognized[SCLP_CHP_INFO_MASK_SIZE];
|