diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2019-09-05 17:46:02 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-09-06 01:11:14 +0200 |
commit | 5b26db95fee3f1ce0d096b2de0ac6f3716171093 (patch) | |
tree | d927139658fccca825a0448052d32693dac766e6 /tools/perf/ui/tui/setup.c | |
parent | libnvdimm/label: Remove the dpa align check (diff) | |
download | linux-5b26db95fee3f1ce0d096b2de0ac6f3716171093.tar.xz linux-5b26db95fee3f1ce0d096b2de0ac6f3716171093.zip |
libnvdimm: Use PAGE_SIZE instead of SZ_4K for align check
Architectures have different page size than 4K. Use the PAGE_SIZE
to make sure ranges are correctly aligned.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/20190905154603.10349-7-aneesh.kumar@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/ui/tui/setup.c')
0 files changed, 0 insertions, 0 deletions