aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/kernel/bfin_ksyms.c1
-rw-r--r--arch/blackfin/mach-common/entry.S8
-rw-r--r--include/asm-blackfin/bfin-global.h1
3 files changed, 6 insertions, 4 deletions
diff --git a/arch/blackfin/kernel/bfin_ksyms.c b/arch/blackfin/kernel/bfin_ksyms.c
index e491633e9d33..0bfbb269e350 100644
--- a/arch/blackfin/kernel/bfin_ksyms.c
+++ b/arch/blackfin/kernel/bfin_ksyms.c
@@ -48,6 +48,7 @@ EXPORT_SYMBOL(__down_trylock);
48EXPORT_SYMBOL(__down_interruptible); 48EXPORT_SYMBOL(__down_interruptible);
49 49
50EXPORT_SYMBOL(is_in_rom); 50EXPORT_SYMBOL(is_in_rom);
51EXPORT_SYMBOL(bfin_return_from_exception);
51 52
52/* Networking helper routines. */ 53/* Networking helper routines. */
53EXPORT_SYMBOL(csum_partial_copy); 54EXPORT_SYMBOL(csum_partial_copy);
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index 54712f9a60ac..573880c01748 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -89,7 +89,7 @@ ENTRY(_ex_workaround_261)
89 r6 = retx; 89 r6 = retx;
90 [p5] = r6; 90 [p5] = r6;
91 cc = r6 == r7; 91 cc = r6 == r7;
92 if !cc jump _return_from_exception; 92 if !cc jump _bfin_return_from_exception;
93 /* fall through */ 93 /* fall through */
94 R7 = P4; 94 R7 = P4;
95 R6 = 0x26; /* Data CPLB Miss */ 95 R6 = 0x26; /* Data CPLB Miss */
@@ -139,7 +139,7 @@ ENTRY(_ex_single_step)
139 r7 = retx; 139 r7 = retx;
140 r6 = reti; 140 r6 = reti;
141 cc = r7 == r6; 141 cc = r7 == r6;
142 if cc jump _return_from_exception 142 if cc jump _bfin_return_from_exception
143 r7 = syscfg; 143 r7 = syscfg;
144 bitclr (r7, 0); 144 bitclr (r7, 0);
145 syscfg = R7; 145 syscfg = R7;
@@ -157,7 +157,7 @@ ENTRY(_ex_single_step)
157 cc = r6 == r7; 157 cc = r6 == r7;
158 if !cc jump _ex_trap_c; 158 if !cc jump _ex_trap_c;
159 159
160ENTRY(_return_from_exception) 160ENTRY(_bfin_return_from_exception)
161 DEBUG_START_HWTRACE(p5, r7) 161 DEBUG_START_HWTRACE(p5, r7)
162#if ANOMALY_05000257 162#if ANOMALY_05000257
163 R7=LC0; 163 R7=LC0;
@@ -862,7 +862,7 @@ ENTRY(_ex_trace_buff_full)
862 LC0 = [sp++]; 862 LC0 = [sp++];
863 P2 = [sp++]; 863 P2 = [sp++];
864 P3 = [sp++]; 864 P3 = [sp++];
865 jump _return_from_exception; 865 jump _bfin_return_from_exception;
866ENDPROC(_ex_trace_buff_full) 866ENDPROC(_ex_trace_buff_full)
867 867
868#if CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN == 4 868#if CONFIG_DEBUG_BFIN_HWTRACE_EXPAND_LEN == 4
diff --git a/include/asm-blackfin/bfin-global.h b/include/asm-blackfin/bfin-global.h
index cd924bb6f2e7..6ef501b35df0 100644
--- a/include/asm-blackfin/bfin-global.h
+++ b/include/asm-blackfin/bfin-global.h
@@ -62,6 +62,7 @@ extern void bfin_dcache_init(void);
62extern int read_iloc(void); 62extern int read_iloc(void);
63extern int bfin_console_init(void); 63extern int bfin_console_init(void);
64extern asmlinkage void lower_to_irq14(void); 64extern asmlinkage void lower_to_irq14(void);
65extern asmlinkage void bfin_return_from_exception(void);
65extern void init_exception_vectors(void); 66extern void init_exception_vectors(void);
66extern void init_dma(void); 67extern void init_dma(void);
67extern void program_IAR(void); 68extern void program_IAR(void);