Commit 9b78442f authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: rename cache_lock() to bfin_cache_lock()

rename cache_lock() to bfin_cache_lock() to avoid namespace collision
with common code
Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent a3765e0c
...@@ -111,7 +111,7 @@ extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size; ...@@ -111,7 +111,7 @@ extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size;
#ifdef CONFIG_BFIN_ICACHE_LOCK #ifdef CONFIG_BFIN_ICACHE_LOCK
extern void cache_grab_lock(int way); extern void cache_grab_lock(int way);
extern void cache_lock(int way); extern void bfin_cache_lock(int way);
#endif #endif
#endif #endif
......
...@@ -160,7 +160,7 @@ ENDPROC(_cache_grab_lock) ...@@ -160,7 +160,7 @@ ENDPROC(_cache_grab_lock)
* R0 - Which way to be locked * R0 - Which way to be locked
*/ */
ENTRY(_cache_lock) ENTRY(_bfin_cache_lock)
[--SP]=( R7:0,P5:0 ); [--SP]=( R7:0,P5:0 );
...@@ -184,7 +184,7 @@ ENTRY(_cache_lock) ...@@ -184,7 +184,7 @@ ENTRY(_cache_lock)
( R7:0,P5:0 ) = [SP++]; ( R7:0,P5:0 ) = [SP++];
RTS; RTS;
ENDPROC(_cache_lock) ENDPROC(_bfin_cache_lock)
/* Invalidate the Entire Instruction cache by /* Invalidate the Entire Instruction cache by
* disabling IMC bit * disabling IMC bit
......
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