Blackfin arch: cleanup cache lock code
authorMike Frysinger <vapier.adi@gmail.com>
Thu, 14 Aug 2008 06:29:57 +0000 (14:29 +0800)
committerBryan Wu <cooloney@kernel.org>
Thu, 14 Aug 2008 06:29:57 +0000 (14:29 +0800)
commit0e06b50dda5965e0f8a15b0be14b759ead54fd2a
tree3b0bf1ba71ba8799e55a7670d8572615443c0ba5
parent55546ac45dfb4087437bedaed43400630c96680e
Blackfin arch: cleanup cache lock code

 - remove cheesy read_iloc() function
 - move invalidate_entire_icache function to lock.S
 - export proper prototypes for functions in lock.S
 - only build lock.S when BFIN_ICACHE_LOCK is enabled

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/setup.c
arch/blackfin/mach-common/Makefile
arch/blackfin/mach-common/lock.S
include/asm-blackfin/bfin-global.h