diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index a8100b954839..969eaf140ef0 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -89,6 +89,7 @@ | |||
89 | #include <linux/io.h> | 89 | #include <linux/io.h> |
90 | #include <linux/cache.h> | 90 | #include <linux/cache.h> |
91 | #include <linux/rodata_test.h> | 91 | #include <linux/rodata_test.h> |
92 | #include <linux/jump_label.h> | ||
92 | 93 | ||
93 | #include <asm/io.h> | 94 | #include <asm/io.h> |
94 | #include <asm/bugs.h> | 95 | #include <asm/bugs.h> |
@@ -1000,6 +1001,7 @@ static int __ref kernel_init(void *unused) | |||
1000 | /* need to finish all async __init code before freeing the memory */ | 1001 | /* need to finish all async __init code before freeing the memory */ |
1001 | async_synchronize_full(); | 1002 | async_synchronize_full(); |
1002 | ftrace_free_init_mem(); | 1003 | ftrace_free_init_mem(); |
1004 | jump_label_invalidate_init(); | ||
1003 | free_initmem(); | 1005 | free_initmem(); |
1004 | mark_readonly(); | 1006 | mark_readonly(); |
1005 | system_state = SYSTEM_RUNNING; | 1007 | system_state = SYSTEM_RUNNING; |