diff options
| -rw-r--r-- | drivers/s390/char/sclp_cmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c index b3beab610da4..fc7ae05ce48a 100644 --- a/drivers/s390/char/sclp_cmd.c +++ b/drivers/s390/char/sclp_cmd.c | |||
| @@ -704,6 +704,13 @@ int sclp_chp_deconfigure(struct chp_id chpid) | |||
| 704 | return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); | 704 | return do_chp_configure(SCLP_CMDW_DECONFIGURE_CHPATH | chpid.id << 8); |
| 705 | } | 705 | } |
| 706 | 706 | ||
| 707 | int arch_get_memory_phys_device(unsigned long start_pfn) | ||
| 708 | { | ||
| 709 | if (!rzm) | ||
| 710 | return 0; | ||
| 711 | return PFN_PHYS(start_pfn) / rzm; | ||
| 712 | } | ||
| 713 | |||
| 707 | struct chp_info_sccb { | 714 | struct chp_info_sccb { |
| 708 | struct sccb_header header; | 715 | struct sccb_header header; |
| 709 | u8 recognized[SCLP_CHP_INFO_MASK_SIZE]; | 716 | u8 recognized[SCLP_CHP_INFO_MASK_SIZE]; |
