diff options
author | Mike Rapoport (IBM) <rppt@kernel.org> | 2023-01-04 21:18:05 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-01-18 17:12:54 -0800 |
commit | fc5744881eabcc73ed24a4229034f0fbdeb3f46f (patch) | |
tree | 92c72b2179322cc631ec4a0dae055cf18931e570 /lib | |
parent | f78dfc7b77d5c3527d0f895bef693f711802de5a (diff) | |
download | linux-stable-fc5744881eabcc73ed24a4229034f0fbdeb3f46f.tar.gz linux-stable-fc5744881eabcc73ed24a4229034f0fbdeb3f46f.tar.bz2 linux-stable-fc5744881eabcc73ed24a4229034f0fbdeb3f46f.zip |
mm/page_alloc: invert logic for early page initialisation checks
Rename early_page_uninitialised() to early_page_initialised() and invert
its logic to make the code more readable.
Link: https://lkml.kernel.org/r/20230104191805.2535864-1-rppt@kernel.org
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions