diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-08-14 08:29:57 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-14 08:29:57 +0200 |
commit | 0e06b50dda5965e0f8a15b0be14b759ead54fd2a (patch) | |
tree | 3b0bf1ba71ba8799e55a7670d8572615443c0ba5 /arch/blackfin/mach-common/Makefile | |
parent | Blackfin arch: workaround SIC_IWR1 reset bug, by keeping MDMA0/1 always enabl... (diff) | |
download | linux-0e06b50dda5965e0f8a15b0be14b759ead54fd2a.tar.xz linux-0e06b50dda5965e0f8a15b0be14b759ead54fd2a.zip |
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/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/Makefile b/arch/blackfin/mach-common/Makefile index 862cd73c9504..e6ed57c56d4b 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 |