[ppc40x] optimize the kernel for size, disable common PCI quirks, and sync kernel...
[openwrt.git] / target / linux / s3c24xx / patches-2.6.30 / 150-ignore-init-argument.patch
1 --- linux-2.6.30.1/init/main.c.orig 2009-07-07 19:35:25.000000000 +0200
2 +++ linux-2.6.30.1/init/main.c 2009-07-07 19:35:39.000000000 +0200
3 @@ -830,11 +830,11 @@
4 * The Bourne shell can be used instead of init if we are
5 * trying to recover a really broken machine.
6 */
7 - if (execute_command) {
8 - run_init_process(execute_command);
9 - printk(KERN_WARNING "Failed to execute %s. Attempting "
10 - "defaults...\n", execute_command);
11 - }
12 + //if (execute_command) {
13 + // run_init_process(execute_command);
14 + // printk(KERN_WARNING "Failed to execute %s. Attempting "
15 + // "defaults...\n", execute_command);
16 + //}
17 run_init_process("/etc/preinit");
18
19 panic("No init found. Try passing init= option to kernel.");
This page took 0.038262 seconds and 5 git commands to generate.