diff options
| author | Wei Yang <richard.weiyang@gmail.com> | 2024-06-19 01:06:10 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:30:19 -0700 |
| commit | 64e0ba3948ddb99246e8f3c2c34a67be324220db (patch) | |
| tree | 9e22ca1a4a411c3f9c2e0e035513b403cb9bd22c /mm/page_alloc.c | |
| parent | 861dd8b9e34fc3fc05762a952ad8dd701dc0f0f1 (diff) | |
| download | linux-64e0ba3948ddb99246e8f3c2c34a67be324220db.tar.gz linux-64e0ba3948ddb99246e8f3c2c34a67be324220db.tar.bz2 linux-64e0ba3948ddb99246e8f3c2c34a67be324220db.zip | |
mm/mm_init.c: move build check on MAX_ZONELISTS out of ifdef
Current check on MAX_ZONELISTS is wrapped in CONFIG_DEBUG_MEMORY_INIT,
which may not be triggered all the time.
Let's move it out to a more general place.
Link: https://lkml.kernel.org/r/20240619010612.20740-2-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions
