[PATCH 22/30] microblaze_mmu_v1: Update linker script for MMU

From: monstr
Date: Mon Apr 27 2009 - 05:48:40 EST


From: Michal Simek <monstr@xxxxxxxxx>

Signed-off-by: Michal Simek <monstr@xxxxxxxxx>
---
arch/microblaze/kernel/vmlinux.lds.S | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S
index 840385e..50b4bcf 100644
--- a/arch/microblaze/kernel/vmlinux.lds.S
+++ b/arch/microblaze/kernel/vmlinux.lds.S
@@ -17,8 +17,11 @@ ENTRY(_start)
jiffies = jiffies_64 + 4;

SECTIONS {
+#ifdef CONFIG_MMU
+ . = CONFIG_KERNEL_START;
+#else
. = CONFIG_KERNEL_BASE_ADDR;
-
+#endif
.text : {
_text = . ;
_stext = . ;
--
1.5.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/