diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-08-14 02:44:33 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-14 02:44:33 -0400 |
commit | cd8fb8df1458df7f3b99fd112e722b05f42c64d9 (patch) | |
tree | 9cb389a1b61500b6b38752d96b72db23c0590c28 /arch/blackfin/mach-common/head.S | |
parent | ee32664da9531329b87aa5109e41e7cc73a04121 (diff) |
Blackfin arch: Print out doublefault addresses, so debug can occur
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-common/head.S')
-rw-r--r-- | arch/blackfin/mach-common/head.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/head.S b/arch/blackfin/mach-common/head.S index 2c69ad49894e..fb7e2d426999 100644 --- a/arch/blackfin/mach-common/head.S +++ b/arch/blackfin/mach-common/head.S | |||
@@ -90,6 +90,12 @@ ENTRY(__start) | |||
90 | [p0] = R0; | 90 | [p0] = R0; |
91 | SSYNC; | 91 | SSYNC; |
92 | 92 | ||
93 | /* Save RETX, in case of doublefault */ | ||
94 | p0.l = ___retx; | ||
95 | p0.h = ___retx; | ||
96 | R0 = RETX; | ||
97 | [P0] = R0; | ||
98 | |||
93 | /* Let each Blackfin family do its own thing */ | 99 | /* Let each Blackfin family do its own thing */ |
94 | call _mach_early_start; | 100 | call _mach_early_start; |
95 | 101 | ||