projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix missing symbol
[openwrt.git]
/
target
/
linux
/
x86
/
patches-2.6.31
/
300-block2mtd_init.patch
diff --git
a/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
b/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
index
123a9d3
..
3e6ff60
100644
(file)
--- a/
target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
+++ b/
target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
@@
-151,7
+151,7
@@
static int kernel_init(void *);
static int kernel_init(void *);
-@@ -7
84,12 +785
,13 @@ int do_one_initcall(initcall_t fn)
+@@ -7
79,12 +780
,13 @@ int do_one_initcall(initcall_t fn)
extern initcall_t __initcall_start[], __initcall_end[], __early_initcall_end[];
extern initcall_t __initcall_start[], __initcall_end[], __early_initcall_end[];
@@
-167,7
+167,7
@@
do_one_initcall(*call);
/* Make sure there is no pending stuff from the initcall sequence */
do_one_initcall(*call);
/* Make sure there is no pending stuff from the initcall sequence */
-@@ -8
12,7 +814
,7 @@ static void __init do_basic_setup(void)
+@@ -8
07,7 +809
,7 @@ static void __init do_basic_setup(void)
driver_init();
init_irq_proc();
do_ctors();
driver_init();
init_irq_proc();
do_ctors();
@@
-176,7
+176,7
@@
}
static void __init do_pre_smp_initcalls(void)
}
static void __init do_pre_smp_initcalls(void)
-@@ -8
73,6 +875
,13 @@ static noinline int init_post(void)
+@@ -8
68,6 +870
,13 @@ static noinline int init_post(void)
panic("No init found. Try passing init= option to kernel.");
}
panic("No init found. Try passing init= option to kernel.");
}
@@
-190,7
+190,7
@@
static int __init kernel_init(void * unused)
{
lock_kernel();
static int __init kernel_init(void * unused)
{
lock_kernel();
-@@ -91
7,7 +926
,16 @@ static int __init kernel_init(void * unu
+@@ -91
2,7 +921
,16 @@ static int __init kernel_init(void * unu
if (sys_access((const char __user *) ramdisk_execute_command, 0) != 0) {
ramdisk_execute_command = NULL;
if (sys_access((const char __user *) ramdisk_execute_command, 0) != 0) {
ramdisk_execute_command = NULL;
@@
-202,8
+202,8
@@
+ }
+ while (driver_probe_done() != 0)
+ msleep(100);
+ }
+ while (driver_probe_done() != 0)
+ msleep(100);
-+ md_run_setup();
+ do_initcalls(__root_initcall_start, __root_initcall_end);
+ do_initcalls(__root_initcall_start, __root_initcall_end);
++ md_run_setup();
+ prepare_namespace();
}
+ prepare_namespace();
}
This page took
0.02425 seconds
and
4
git commands to generate.