diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-19 04:57:01 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-19 04:57:01 -0400 |
commit | e055d41ff5e9761c5572a6f4ce94bcd82bfbb28f (patch) | |
tree | 9e88abc081c70641aa584ee7f6cde9289deeb0f8 /arch/sh/mm/Makefile | |
parent | ee8365f23355cdb66e7a6c5c9364e8d3ba4de32f (diff) |
sh: Build fix for disabled caches.
This fixes up the build when caches are disabled, by linking in all of
the cache routines directly. This paves the way for splitting out
separate I and D cache disabling, similar to what sh64 had, and which
we want for SH-X3 anyways.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Makefile')
-rw-r--r-- | arch/sh/mm/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/mm/Makefile b/arch/sh/mm/Makefile index 4ca71e9e09eb..3759bf853293 100644 --- a/arch/sh/mm/Makefile +++ b/arch/sh/mm/Makefile | |||
@@ -4,14 +4,12 @@ | |||
4 | 4 | ||
5 | obj-y := cache.o init.o consistent.o mmap.o | 5 | obj-y := cache.o init.o consistent.o mmap.o |
6 | 6 | ||
7 | ifndef CONFIG_CACHE_OFF | ||
8 | cacheops-$(CONFIG_CPU_SH2) := cache-sh2.o | 7 | cacheops-$(CONFIG_CPU_SH2) := cache-sh2.o |
9 | cacheops-$(CONFIG_CPU_SH2A) := cache-sh2a.o | 8 | cacheops-$(CONFIG_CPU_SH2A) := cache-sh2a.o |
10 | cacheops-$(CONFIG_CPU_SH3) := cache-sh3.o | 9 | cacheops-$(CONFIG_CPU_SH3) := cache-sh3.o |
11 | cacheops-$(CONFIG_CPU_SH4) := cache-sh4.o flush-sh4.o | 10 | cacheops-$(CONFIG_CPU_SH4) := cache-sh4.o flush-sh4.o |
12 | cacheops-$(CONFIG_CPU_SH5) := cache-sh5.o flush-sh4.o | 11 | cacheops-$(CONFIG_CPU_SH5) := cache-sh5.o flush-sh4.o |
13 | cacheops-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o | 12 | cacheops-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o |
14 | endif | ||
15 | 13 | ||
16 | obj-y += $(cacheops-y) | 14 | obj-y += $(cacheops-y) |
17 | 15 | ||