aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-11-07 13:36:32 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-11-07 13:36:32 +0000
commit2e72f3b26934dbebf8793dfb7c32b33d3e780fde (patch)
treec6fea53677f2e2104888a66936b7f5a704940352 /target/linux/x86
parentd6cbf47527356cc2de944c0b229d4797b3fd446a (diff)
downloadupstream-2e72f3b26934dbebf8793dfb7c32b33d3e780fde.tar.gz
upstream-2e72f3b26934dbebf8793dfb7c32b33d3e780fde.tar.bz2
upstream-2e72f3b26934dbebf8793dfb7c32b33d3e780fde.zip
add again missing hunk in vmlinux.lds.S
SVN-Revision: 18337
Diffstat (limited to 'target/linux/x86')
-rw-r--r--target/linux/x86/patches-2.6.31/300-block2mtd_init.patch31
1 files changed, 24 insertions, 7 deletions
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 54cae9d0af..29e4037c8e 100644
--- a/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
+++ b/target/linux/x86/patches-2.6.31/300-block2mtd_init.patch
@@ -1,7 +1,24 @@
+Index: linux-2.6.31.5/arch/x86/kernel/vmlinux.lds.S
+===================================================================
+--- linux-2.6.31.5.orig/arch/x86/kernel/vmlinux.lds.S 2009-10-23 00:57:56.000000000 +0200
++++ linux-2.6.31.5/arch/x86/kernel/vmlinux.lds.S 2009-11-07 14:31:54.000000000 +0100
+@@ -244,6 +244,12 @@
+ __initcall_end = .;
+ }
+
++ .root_initcall.init : AT(ADDR(.root_initcall.init) - LOAD_OFFSET) {
++ __root_initcall_start = .;
++ INITCALLS_ROOT
++ __root_initcall_end = .;
++ }
++
+ .con_initcall.init : AT(ADDR(.con_initcall.init) - LOAD_OFFSET) {
+ __con_initcall_start = .;
+ *(.con_initcall.init)
Index: linux-2.6.31.5/drivers/mtd/devices/block2mtd.c
===================================================================
---- linux-2.6.31.5.orig/drivers/mtd/devices/block2mtd.c 2009-11-07 13:52:05.000000000 +0100
-+++ linux-2.6.31.5/drivers/mtd/devices/block2mtd.c 2009-11-07 13:52:17.000000000 +0100
+--- linux-2.6.31.5.orig/drivers/mtd/devices/block2mtd.c 2009-11-07 14:30:57.000000000 +0100
++++ linux-2.6.31.5/drivers/mtd/devices/block2mtd.c 2009-11-07 14:31:19.000000000 +0100
@@ -18,10 +18,18 @@
#include <linux/buffer_head.h>
#include <linux/mutex.h>
@@ -69,8 +86,8 @@ Index: linux-2.6.31.5/drivers/mtd/devices/block2mtd.c
}
Index: linux-2.6.31.5/include/asm-generic/vmlinux.lds.h
===================================================================
---- linux-2.6.31.5.orig/include/asm-generic/vmlinux.lds.h 2009-11-07 13:52:04.000000000 +0100
-+++ linux-2.6.31.5/include/asm-generic/vmlinux.lds.h 2009-11-07 13:52:17.000000000 +0100
+--- linux-2.6.31.5.orig/include/asm-generic/vmlinux.lds.h 2009-11-07 14:30:57.000000000 +0100
++++ linux-2.6.31.5/include/asm-generic/vmlinux.lds.h 2009-11-07 14:31:19.000000000 +0100
@@ -622,12 +622,14 @@
*(.initcall4s.init) \
*(.initcall5.init) \
@@ -90,7 +107,7 @@ Index: linux-2.6.31.5/include/asm-generic/vmlinux.lds.h
Index: linux-2.6.31.5/init/do_mounts.c
===================================================================
--- linux-2.6.31.5.orig/init/do_mounts.c 2009-10-23 00:57:56.000000000 +0200
-+++ linux-2.6.31.5/init/do_mounts.c 2009-11-07 13:52:17.000000000 +0100
++++ linux-2.6.31.5/init/do_mounts.c 2009-11-07 14:31:19.000000000 +0100
@@ -176,16 +176,8 @@
return 1;
}
@@ -134,8 +151,8 @@ Index: linux-2.6.31.5/init/do_mounts.c
if (!strncmp(root_device_name, "mtd", 3) ||
Index: linux-2.6.31.5/init/main.c
===================================================================
---- linux-2.6.31.5.orig/init/main.c 2009-11-07 13:52:16.000000000 +0100
-+++ linux-2.6.31.5/init/main.c 2009-11-07 14:00:29.000000000 +0100
+--- linux-2.6.31.5.orig/init/main.c 2009-11-07 14:30:59.000000000 +0100
++++ linux-2.6.31.5/init/main.c 2009-11-07 14:31:19.000000000 +0100
@@ -79,6 +79,7 @@
#ifdef CONFIG_X86_LOCAL_APIC
#include <asm/smp.h>