x86: DEBUG_PAGEALLOC: enable after mem_init()

DEBUG_PAGEALLOC must not be enabled before mem_init(). Before this
point there is nothing to allocate.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

+1 -1
+1 -1
init/main.c
··· 558 558 preempt_disable(); 559 559 build_all_zonelists(); 560 560 page_alloc_init(); 561 - enable_debug_pagealloc(); 562 561 printk(KERN_NOTICE "Kernel command line: %s\n", boot_command_line); 563 562 parse_early_param(); 564 563 parse_args("Booting kernel", static_command_line, __start___param, ··· 613 614 vfs_caches_init_early(); 614 615 cpuset_init_early(); 615 616 mem_init(); 617 + enable_debug_pagealloc(); 616 618 cpu_hotplug_init(); 617 619 kmem_cache_init(); 618 620 setup_per_cpu_pageset();