aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-common/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-08-14 14:29:57 +0800
committerBryan Wu <cooloney@kernel.org>2008-08-14 14:29:57 +0800
commit0e06b50dda5965e0f8a15b0be14b759ead54fd2a (patch)
tree3b0bf1ba71ba8799e55a7670d8572615443c0ba5 /arch/blackfin/mach-common/Makefile
parent55546ac45dfb4087437bedaed43400630c96680e (diff)
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>
Diffstat (limited to 'arch/blackfin/mach-common/Makefile')
-rw-r--r--arch/blackfin/mach-common/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/Makefile b/arch/blackfin/mach-common/Makefile
index 862cd73c950..e6ed57c56d4 100644
--- a/arch/blackfin/mach-common/Makefile
+++ b/arch/blackfin/mach-common/Makefile
@@ -4,8 +4,9 @@
obj-y := \
cache.o entry.o head.o \
- interrupt.o lock.o irqpanic.o arch_checks.o ints-priority.o
+ interrupt.o irqpanic.o arch_checks.o ints-priority.o
+obj-$(CONFIG_BFIN_ICACHE_LOCK) += lock.o
obj-$(CONFIG_PM) += pm.o dpmc_modes.o
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_CPU_VOLTAGE) += dpmc.o