libnvdimm, pfn: fix ARCH=alpha allmodconfig build failure
authorDan Williams <dan.j.williams@intel.com>
Fri, 6 May 2016 17:20:10 +0000 (10:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 6 May 2016 17:20:10 +0000 (10:20 -0700)
commit1b8d2afde54fade94339f573c4e05644f9ae9866
tree58d605d3fc59899bc0907ccb742bd4b759554830
parent2eea65829dc6c20dccbe79726fd0f3fe7f8aa43b
libnvdimm, pfn: fix ARCH=alpha allmodconfig build failure

I had relied on the kbuild robot for cross build coverage, however it
only builds alpha_defconfig.  Switch from HPAGE_SIZE to PMD_SIZE, which
is more widely defined.

Fixes: 658922e57b84 ("libnvdimm, pfn: fix memmap reservation sizing")
Cc: <stable@vger.kernel.org>
Reported-by: Guenter Roeck <guenter@roeck-us.net>
Tested-by: Guenter Roeck <guenter@roeck-us.net>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c