diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 20 | ||||
-rw-r--r-- | init/main.c | 4 |
2 files changed, 23 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index 412c21b..ae99e63 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -909,12 +909,23 @@ config CC_OPTIMIZE_FOR_SIZE If unsure, say Y. +config CC_CHECK_WARNING_STRICTLY + bool "Check warnings more strictly" + help + Enabling this option will pass "-Werror" to gcc + config SYSCTL bool config ANON_INODES bool +config PANIC_TIMEOUT + int "Default panic timeout" + default 0 + help + Set default panic timeout. + menuconfig EXPERT bool "Configure standard kernel features (expert users)" help @@ -1081,6 +1092,15 @@ config SHMEM option replaces shmem and tmpfs with the much simpler ramfs code, which may be appropriate on small systems without swap. +config ASHMEM + bool "Enable the Anonymous Shared Memory Subsystem" + default n + depends on SHMEM || TINY_SHMEM + help + The ashmem subsystem is a new shared memory allocator, similar to + POSIX SHM but with different behavior and sporting a simpler + file-based API. + config AIO bool "Enable AIO support" if EXPERT default y diff --git a/init/main.c b/init/main.c index 841e344..5596de7 100644 --- a/init/main.c +++ b/init/main.c @@ -729,8 +729,10 @@ static void __init do_pre_smp_initcalls(void) static void run_init_process(const char *init_filename) { + int ret = 0; argv_init[0] = init_filename; - kernel_execve(init_filename, argv_init, envp_init); + ret = kernel_execve(init_filename, argv_init, envp_init); + pr_info("run_init_process Ret : %d\n", ret); } /* This is a non __init function. Force it to be noinline otherwise gcc |