mm: generate PAGE_IDLE_FLAG definitions
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Apr 2024 20:12:51 +0000 (21:12 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:35 +0000 (20:56 -0700)
commit8c9e8381ea4bcca4305cf0d24f87f4d39514ab35
tree86c008d2aece526be85d216dce4f126cb82f2083
parent1ade67cd22e4aeb74ed0b86bab6760bbcf9e2f06
mm: generate PAGE_IDLE_FLAG definitions

If CONFIG_PAGE_IDLE_FLAG is not set, we can use FOLIO_FLAG_FALSE() to
generate these definitions.

Link: https://lkml.kernel.org/r/20240402201252.917342-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/page-flags.h
include/linux/page_idle.h