UAPI: ndctl: Remove use of PAGE_SIZE
mainline inclusion from mainline-4.20-rc1 commit f366d322aea782cf786aa821d5accdc1609f9e10 category: bugfix bugzilla: 5557 CVE: NA --------------------------- The macro PAGE_SIZE isn't valid outside of the kernel, so it should not appear in UAPI headers. Furthermore, the actual machine page size could theoretically change from an application's point of view if it's running in a container that gets migrated to another machine (say 4K/ppc64 to 64K/ppc64). Fixes: f2ba5a5b ("libnvdimm, namespace: make min namespace size 4K") Signed-off-by: NDavid Howells <dhowells@redhat.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com> Signed-off-by: NJason Yan <yanaijie@huawei.com> Reviewed-by: Nzhengbin <zhengbin13@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
include/linux/ndctl.h
0 → 100644
想要评论请 注册 或 登录