diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index 5596de7..61a880a 100644 --- a/init/main.c +++ b/init/main.c @@ -79,6 +79,12 @@ #include <asm/smp.h> #endif +#if defined (CONFIG_MACH_U1_NA_SPR) +#ifdef CONFIG_SEC_DEBUG +#include <linux/kernel_sec_common.h> +#endif +#endif + static int kernel_init(void *); extern void init_IRQ(void); @@ -621,6 +627,11 @@ asmlinkage void __init start_kernel(void) sfi_init_late(); ftrace_init(); +#if defined (CONFIG_MACH_U1_NA_SPR) +#ifdef CONFIG_SEC_DEBUG + kernel_sec_init(); +#endif +#endif /* Do the rest non-__init'ed, we're now alive */ rest_init(); |