Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/madvise.c: replace with page_size() in madvise_inject_error()
page_size() is supported after the commit a50b854 ("mm: introduce page_size()"). Use page_size() in madvise_inject_error() for readability. [[email protected]: use ulong for `size', per David] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yunfeng Ye <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Jason Gunthorpe <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Jan Kara <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Hu Shiyuan <[email protected]> Cc: Feilong Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information