aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMarc Gauthier <marc@gums.hq.tensilica.com>2007-12-30 22:00:54 -0800
committerChris Zankel <chris@zankel.net>2008-02-13 17:25:14 -0800
commit6d15d109632ff01e13c26893030e2ed9e6c4e3fd (patch)
tree381429fcccdf4e1ebfa3b8702f56b1afe7c03954 /arch/xtensa
parent[XTENSA] Add volatile keyword to asm statements accessing counter registers (diff)
downloadlinux-dev-6d15d109632ff01e13c26893030e2ed9e6c4e3fd.tar.xz
linux-dev-6d15d109632ff01e13c26893030e2ed9e6c4e3fd.zip
[XTENSA] Add missing RELOCATE_ENTRY for debug vector
We also need to relocate the debug vector if in RAM. Signed-off-by: Marc Gauthier <marc@tensilica.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S
index 4b717bf48fb7..51f4fb6f16f9 100644
--- a/arch/xtensa/kernel/vmlinux.lds.S
+++ b/arch/xtensa/kernel/vmlinux.lds.S
@@ -163,6 +163,8 @@ SECTIONS
.DoubleExceptionVector.literal);
RELOCATE_ENTRY(_DoubleExceptionVector_text,
.DoubleExceptionVector.text);
+ RELOCATE_ENTRY(_DebugInterruptVector_text,
+ .DebugInterruptVector.text);
__boot_reloc_table_end = ABSOLUTE(.) ;
}