Skip to content

Commit

Permalink
Blackfin arch: rename cache_lock() to bfin_cache_lock()
Browse files Browse the repository at this point in the history
rename cache_lock() to bfin_cache_lock() to avoid namespace collision
with common code

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Nov 18, 2008
1 parent a3765e0 commit 9b78442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/blackfin/include/asm/bfin-global.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ extern unsigned long memory_mtd_start, memory_mtd_end, mtd_size;

#ifdef CONFIG_BFIN_ICACHE_LOCK
extern void cache_grab_lock(int way);
extern void cache_lock(int way);
extern void bfin_cache_lock(int way);
#endif

#endif
Expand Down
4 changes: 2 additions & 2 deletions arch/blackfin/mach-common/lock.S
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ ENDPROC(_cache_grab_lock)
* R0 - Which way to be locked
*/

ENTRY(_cache_lock)
ENTRY(_bfin_cache_lock)

[--SP]=( R7:0,P5:0 );

Expand All @@ -184,7 +184,7 @@ ENTRY(_cache_lock)

( R7:0,P5:0 ) = [SP++];
RTS;
ENDPROC(_cache_lock)
ENDPROC(_bfin_cache_lock)

/* Invalidate the Entire Instruction cache by
* disabling IMC bit
Expand Down

0 comments on commit 9b78442

Please sign in to comment.