diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2019-09-23 15:34:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-09-24 15:54:08 -0700 |
| commit | 94ad9338109fe9d0b8a4a16828719dd6dcaee4c2 (patch) | |
| tree | 7109a0b670c3aeff78fe86fa00f1488371cdcef4 /include/linux/debugobjects.h | |
| parent | a50b854e073cd3335bbbada8dcff83a857297dd7 (diff) | |
mm: introduce page_shift()
Replace PAGE_SHIFT + compound_order(page) with the new page_shift()
function. Minor improvements in readability.
[[email protected]: fix build in tce_page_is_contained()]
Link: http://lkml.kernel.org/r/201907241853.yNQTrJWd%[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions