aboutsummaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/linux/linux-moblin-2.6.27/0038-fastboot-fix-blackfin-breakage-due-to-vmlinux.lds-c.patch
blob: 8d1e3f22f159db088e69986d3d8981dd37a91bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 5e4f25d1f43991324794657655bbbc43983522a2 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@infradead.org>
Date: Wed, 10 Sep 2008 08:25:34 -0700
Subject: [PATCH] fastboot: fix blackfin breakage due to vmlinux.lds change

As reported by Mike Frysinger, the vmlinux.lds changes should
have used VMLINUX_SYMBOL()...

Reported-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 include/asm-generic/vmlinux.lds.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index b9be858..ccabc4e 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -377,11 +377,11 @@
   	*(.initcall5s.init)						\
 	*(.initcallrootfs.init)						\
 	*(.initcall6s.init)						\
-	__async_initcall_start = .;					\
+	VMLINUX_SYMBOL(__async_initcall_start) = .;			\
 	*(.initcall6a.init)						\
-	__async_initcall_end = .;					\
+	VMLINUX_SYMBOL(__async_initcall_end) = .;			\
   	*(.initcall6.init)						\
-	__device_initcall_end = .;					\
+	VMLINUX_SYMBOL(__device_initcall_end) = .;			\
   	*(.initcall7.init)						\
   	*(.initcall7s.init)
 
-- 
1.5.4.3