diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2020-10-16 03:10:15 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-10-16 18:11:19 +0000 |
| commit | ab130f9108dcf2062a44f9f0706824ef2e30492e (patch) | |
| tree | 07e3283496e2772048141c882b1ef633364dec0f /lib/netdev-notifier-error-inject.c | |
| parent | include/linux/mmzone.h: remove unused early_pfn_valid() (diff) | |
| download | kernel-ab130f9108dcf2062a44f9f0706824ef2e30492e.tar.gz kernel-ab130f9108dcf2062a44f9f0706824ef2e30492e.zip | |
mm: rename page_order() to buddy_order()
The current page_order() can only be called on pages in the buddy
allocator. For compound pages, you have to use compound_order(). This is
confusing and led to a bug, so rename page_order() to buddy_order().
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
