libnvdimm, pmem: fix ia64 build, use PHYS_PFN
commit45f68802f2542a6ad1550dab9c07004de6e0df40
authorDan Williams <dan.j.williams@intel.com>
Sun, 6 Mar 2016 16:04:12 +0000 (6 08:04 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 6 Mar 2016 16:04:12 +0000 (6 08:04 -0800)
tree4efa9e9d160873e7dd82b375aeebb15fbe8b4962
parentf6ed58c70d14572d0272ee129579dbfc97b97f50
libnvdimm, pmem: fix ia64 build, use PHYS_PFN

   drivers/nvdimm/pmem.c: In function 'nvdimm_namespace_attach_pfn':
   drivers/nvdimm/pmem.c:367:3: error: implicit declaration of function
    '__phys_to_pfn' [-Werror=implicit-function-declaration]
   .base_pfn = __phys_to_pfn(nsio->res.start),

ia64 does not provide __phys_to_pfn(), just use the PHYS_PFN() alias.

Cc: Guenter Roeck <linux@roeck-us.net>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c