Commit 8d6c2420 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: rename _return_from_exception to _bfin_return_from_exception and export it

Signed-off-by: default avatarMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent d0025e5e
...@@ -48,6 +48,7 @@ EXPORT_SYMBOL(__down_trylock); ...@@ -48,6 +48,7 @@ EXPORT_SYMBOL(__down_trylock);
EXPORT_SYMBOL(__down_interruptible); EXPORT_SYMBOL(__down_interruptible);
EXPORT_SYMBOL(is_in_rom); EXPORT_SYMBOL(is_in_rom);
EXPORT_SYMBOL(bfin_return_from_exception);
/* Networking helper routines. */ /* Networking helper routines. */
EXPORT_SYMBOL(csum_partial_copy); EXPORT_SYMBOL(csum_partial_copy);
......
...@@ -89,7 +89,7 @@ ENTRY(_ex_workaround_261) ...@@ -89,7 +89,7 @@ ENTRY(_ex_workaround_261)
r6 = retx; r6 = retx;
[p5] = r6; [p5] = r6;
cc = r6 == r7; cc = r6 == r7;
if !cc jump _return_from_exception; if !cc jump _bfin_return_from_exception;
/* fall through */ /* fall through */
R7 = P4; R7 = P4;
R6 = 0x26; /* Data CPLB Miss */ R6 = 0x26; /* Data CPLB Miss */
...@@ -139,7 +139,7 @@ ENTRY(_ex_single_step) ...@@ -139,7 +139,7 @@ ENTRY(_ex_single_step)
r7 = retx; r7 = retx;
r6 = reti; r6 = reti;
cc = r7 == r6; cc = r7 == r6;
if cc jump _return_from_exception if cc jump _bfin_return_from_exception
r7 = syscfg; r7 = syscfg;
bitclr (r7, 0); bitclr (r7, 0);
syscfg = R7; syscfg = R7;
...@@ -157,7 +157,7 @@ ENTRY(_ex_single_step) ...@@ -157,7 +157,7 @@ ENTRY(_ex_single_step)
cc = r6 == r7; cc = r6 == r7;
if !cc jump _ex_trap_c; if !cc jump _ex_trap_c;
ENTRY(_return_from_exception) ENTRY(_bfin_return_from_exception)
DEBUG_START_HWTRACE(p5, r7) DEBUG_START_HWTRACE(p5, r7)
#if ANOMALY_05000257 #if ANOMALY_05000257
R7=LC0; R7=LC0;
...@@ -862,7 +862,7 @@ ENTRY(_ex_trace_buff_full) ...@@ -862,7 +862,7 @@ ENTRY(_ex_trace_buff_full)
LC0 = [sp++]; LC0 = [sp++];
P2 = [sp++]; P2 = [sp++];
P3 = [sp++]; P3 = [sp++];
jump _return_from_exception; jump _bfin_return_from_exception;
ENDPROC(_ex_trace_buff_full) ENDPROC(_ex_trace_buff_full)
#if CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN == 4 #if CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN == 4
......
...@@ -62,6 +62,7 @@ extern void bfin_dcache_init(void); ...@@ -62,6 +62,7 @@ extern void bfin_dcache_init(void);
extern int read_iloc(void); extern int read_iloc(void);
extern int bfin_console_init(void); extern int bfin_console_init(void);
extern asmlinkage void lower_to_irq14(void); extern asmlinkage void lower_to_irq14(void);
extern asmlinkage void bfin_return_from_exception(void);
extern void init_exception_vectors(void); extern void init_exception_vectors(void);
extern void init_dma(void); extern void init_dma(void);
extern void program_IAR(void); extern void program_IAR(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment