[PATCH] fastboot: fix blackfin breakage due to vmlinux.lds change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Wednesday, September 10, 2008 - 8:25 am

Hi,

the patch below fixes the fastboot bug as reported by Mike Frysinger;
I've commited this to
git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-fastboot.git

Ingo, please also add to -tip


From 16aeda33acbb711863d8fff78c15b32ad0d4aa89 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Wed, 10 Sep 2008 08:22:26 -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>
---
 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 020c641..f32418f 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -373,11 +373,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.5.1




-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fastboot: fix blackfin breakage due to vmlinux.lds ..., Arjan van de Ven, (Wed Sep 10, 8:25 am)