mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
hugetlb: rename hugepage_migration_support() to ..._supported()
We already have a function named hugepages_supported(), and the similar name hugepage_migration_support() is a bit unconfortable, so let's rename it hugepage_migration_supported(). Signed-off-by: Naoya Horiguchi <[email protected]> Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1fdb412bd8
commit
100873d7a7
3 changed files with 4 additions and 4 deletions
|
|
@ -1039,7 +1039,7 @@ static int unmap_and_move_huge_page(new_page_t get_new_page,
|
|||
* tables or check whether the hugepage is pmd-based or not before
|
||||
* kicking migration.
|
||||
*/
|
||||
if (!hugepage_migration_support(page_hstate(hpage))) {
|
||||
if (!hugepage_migration_supported(page_hstate(hpage))) {
|
||||
putback_active_hugepage(hpage);
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue