Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-2
-2
arch/sh/mm/Makefile
··· 4 4 5 5 obj-y := cache.o init.o consistent.o mmap.o 6 6 7 - ifndef CONFIG_CACHE_OFF 8 7 cacheops-$(CONFIG_CPU_SH2) := cache-sh2.o 9 8 cacheops-$(CONFIG_CPU_SH2A) := cache-sh2a.o 10 9 cacheops-$(CONFIG_CPU_SH3) := cache-sh3.o 11 10 cacheops-$(CONFIG_CPU_SH4) := cache-sh4.o flush-sh4.o 12 11 cacheops-$(CONFIG_CPU_SH5) := cache-sh5.o flush-sh4.o 13 12 cacheops-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o 14 - endif 15 13 16 14 obj-y += $(cacheops-y) 17 15