diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-08-02 22:33:26 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 01:59:55 +0900 |
commit | 0b930489b8606224b829c8a6037eac24249a97ec (patch) | |
tree | 058920e2d468999df15f83824753da8a2406a2dd /arch/sh/kernel/cpu | |
parent | bd353861c735b2265c9d8b2559960c693e7c68ab (diff) | |
download | linux-stable-0b930489b8606224b829c8a6037eac24249a97ec.tar.gz linux-stable-0b930489b8606224b829c8a6037eac24249a97ec.tar.bz2 linux-stable-0b930489b8606224b829c8a6037eac24249a97ec.zip |
sh: Setup the frame register in asm code
In order to use DWARF unwinder info the frame register has to contain a
valid value. Whilst GCC takes care of this for C code, we have to do it
ourselves for assembly.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/entry.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S index 3cb531f233f2..67ad6467c694 100644 --- a/arch/sh/kernel/cpu/sh3/entry.S +++ b/arch/sh/kernel/cpu/sh3/entry.S @@ -137,6 +137,7 @@ ENTRY(tlb_protection_violation_store) mov #1, r5 call_dpf: + setup_frame_reg mov.l 1f, r0 mov r5, r8 mov.l @r0, r6 |