diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 7917695bf71e..5616661eac01 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -56,6 +56,7 @@ | |||
56 | #include <linux/debug_locks.h> | 56 | #include <linux/debug_locks.h> |
57 | #include <linux/debugobjects.h> | 57 | #include <linux/debugobjects.h> |
58 | #include <linux/lockdep.h> | 58 | #include <linux/lockdep.h> |
59 | #include <linux/kmemleak.h> | ||
59 | #include <linux/pid_namespace.h> | 60 | #include <linux/pid_namespace.h> |
60 | #include <linux/device.h> | 61 | #include <linux/device.h> |
61 | #include <linux/kthread.h> | 62 | #include <linux/kthread.h> |
@@ -621,6 +622,7 @@ asmlinkage void __init start_kernel(void) | |||
621 | /* init some links before init_ISA_irqs() */ | 622 | /* init some links before init_ISA_irqs() */ |
622 | early_irq_init(); | 623 | early_irq_init(); |
623 | init_IRQ(); | 624 | init_IRQ(); |
625 | prio_tree_init(); | ||
624 | init_timers(); | 626 | init_timers(); |
625 | hrtimers_init(); | 627 | hrtimers_init(); |
626 | softirq_init(); | 628 | softirq_init(); |
@@ -667,6 +669,7 @@ asmlinkage void __init start_kernel(void) | |||
667 | enable_debug_pagealloc(); | 669 | enable_debug_pagealloc(); |
668 | cpu_hotplug_init(); | 670 | cpu_hotplug_init(); |
669 | kmemtrace_init(); | 671 | kmemtrace_init(); |
672 | kmemleak_init(); | ||
670 | debug_objects_mem_init(); | 673 | debug_objects_mem_init(); |
671 | idr_init_cache(); | 674 | idr_init_cache(); |
672 | setup_per_cpu_pageset(); | 675 | setup_per_cpu_pageset(); |
@@ -676,7 +679,6 @@ asmlinkage void __init start_kernel(void) | |||
676 | calibrate_delay(); | 679 | calibrate_delay(); |
677 | pidmap_init(); | 680 | pidmap_init(); |
678 | pgtable_cache_init(); | 681 | pgtable_cache_init(); |
679 | prio_tree_init(); | ||
680 | anon_vma_init(); | 682 | anon_vma_init(); |
681 | #ifdef CONFIG_X86 | 683 | #ifdef CONFIG_X86 |
682 | if (efi_enabled) | 684 | if (efi_enabled) |