aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 22:11:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 22:11:50 -0500
commit3aacd625f20129f5a41ea3ff3b5353b0e4dabd01 (patch)
tree7cf4ea65397f80098b30494df31cfc8f5fa26d63 /init
parent7e21774db5cc9cf8fe93a64a2f0c6cf47db8ab24 (diff)
parent2a1d689c9ba42a6066540fb221b6ecbd6298b728 (diff)
Merge branch 'akpm' (incoming from Andrew)
Merge second patch-bomb from Andrew Morton: - various misc bits - the rest of MM - add generic fixmap.h, use it - backlight updates - dynamic_debug updates - printk() updates - checkpatch updates - binfmt_elf - ramfs - init/ - autofs4 - drivers/rtc - nilfs - hfsplus - Documentation/ - coredump - procfs - fork - exec - kexec - kdump - partitions - rapidio - rbtree - userns - memstick - w1 - decompressors * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (197 commits) lib/decompress_unlz4.c: always set an error return code on failures romfs: fix returm err while getting inode in fill_super drivers/w1/masters/w1-gpio.c: add strong pullup emulation drivers/memstick/host/rtsx_pci_ms.c: fix ms card data transfer bug userns: relax the posix_acl_valid() checks arch/sh/kernel/dwarf.c: use rbtree postorder iteration helper instead of solution using repeated rb_erase() fs-ext3-use-rbtree-postorder-iteration-helper-instead-of-opencoding-fix fs/ext3: use rbtree postorder iteration helper instead of opencoding fs/jffs2: use rbtree postorder iteration helper instead of opencoding fs/ext4: use rbtree postorder iteration helper instead of opencoding fs/ubifs: use rbtree postorder iteration helper instead of opencoding net/netfilter/ipset/ip_set_hash_netiface.c: use rbtree postorder iteration instead of opencoding rbtree/test: test rbtree_postorder_for_each_entry_safe() rbtree/test: move rb_node to the middle of the test struct rapidio: add modular rapidio core build into powerpc and mips branches partitions/efi: complete documentation of gpt kernel param purpose kdump: add /sys/kernel/vmcoreinfo ABI documentation kdump: fix exported size of vmcoreinfo note kexec: add sysctl to disable kexec_load fs/exec.c: call arch_pick_mmap_layout() only once ...
Diffstat (limited to 'init')
-rw-r--r--init/initramfs.c2
-rw-r--r--init/main.c11
2 files changed, 5 insertions, 8 deletions
diff --git a/init/initramfs.c b/init/initramfs.c
index a67ef9dbda9d..93b61396756b 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -583,7 +583,7 @@ static int __init populate_rootfs(void)
583{ 583{
584 char *err = unpack_to_rootfs(__initramfs_start, __initramfs_size); 584 char *err = unpack_to_rootfs(__initramfs_start, __initramfs_size);
585 if (err) 585 if (err)
586 panic(err); /* Failed to decompress INTERNAL initramfs */ 586 panic("%s", err); /* Failed to decompress INTERNAL initramfs */
587 if (initrd_start) { 587 if (initrd_start) {
588#ifdef CONFIG_BLK_DEV_RAM 588#ifdef CONFIG_BLK_DEV_RAM
589 int fd; 589 int fd;
diff --git a/init/main.c b/init/main.c
index f865261fb096..f333385d9a4f 100644
--- a/init/main.c
+++ b/init/main.c
@@ -99,10 +99,6 @@ extern void radix_tree_init(void);
99static inline void mark_rodata_ro(void) { } 99static inline void mark_rodata_ro(void) { }
100#endif 100#endif
101 101
102#ifdef CONFIG_TC
103extern void tc_init(void);
104#endif
105
106/* 102/*
107 * Debug helper: via this flag we know that we are in 'early bootup code' 103 * Debug helper: via this flag we know that we are in 'early bootup code'
108 * where only the boot processor is running with IRQ disabled. This means 104 * where only the boot processor is running with IRQ disabled. This means
@@ -282,7 +278,7 @@ static int __init unknown_bootoption(char *param, char *val, const char *unused)
282 unsigned int i; 278 unsigned int i;
283 for (i = 0; envp_init[i]; i++) { 279 for (i = 0; envp_init[i]; i++) {
284 if (i == MAX_INIT_ENVS) { 280 if (i == MAX_INIT_ENVS) {
285 panic_later = "Too many boot env vars at `%s'"; 281 panic_later = "env";
286 panic_param = param; 282 panic_param = param;
287 } 283 }
288 if (!strncmp(param, envp_init[i], val - param)) 284 if (!strncmp(param, envp_init[i], val - param))
@@ -294,7 +290,7 @@ static int __init unknown_bootoption(char *param, char *val, const char *unused)
294 unsigned int i; 290 unsigned int i;
295 for (i = 0; argv_init[i]; i++) { 291 for (i = 0; argv_init[i]; i++) {
296 if (i == MAX_INIT_ARGS) { 292 if (i == MAX_INIT_ARGS) {
297 panic_later = "Too many boot init vars at `%s'"; 293 panic_later = "init";
298 panic_param = param; 294 panic_param = param;
299 } 295 }
300 } 296 }
@@ -586,7 +582,8 @@ asmlinkage void __init start_kernel(void)
586 */ 582 */
587 console_init(); 583 console_init();
588 if (panic_later) 584 if (panic_later)
589 panic(panic_later, panic_param); 585 panic("Too many boot %s vars at `%s'", panic_later,
586 panic_param);
590 587
591 lockdep_info(); 588 lockdep_info();
592 589