소스 검색

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>
Paul Mundt 16 년 전
부모
커밋
e055d41ff5
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      arch/sh/mm/Makefile

+ 0 - 2
arch/sh/mm/Makefile

@@ -4,14 +4,12 @@
 
 
 obj-y			:= cache.o init.o consistent.o mmap.o
 obj-y			:= cache.o init.o consistent.o mmap.o
 
 
-ifndef CONFIG_CACHE_OFF
 cacheops-$(CONFIG_CPU_SH2)		:= cache-sh2.o
 cacheops-$(CONFIG_CPU_SH2)		:= cache-sh2.o
 cacheops-$(CONFIG_CPU_SH2A)		:= cache-sh2a.o
 cacheops-$(CONFIG_CPU_SH2A)		:= cache-sh2a.o
 cacheops-$(CONFIG_CPU_SH3)		:= cache-sh3.o
 cacheops-$(CONFIG_CPU_SH3)		:= cache-sh3.o
 cacheops-$(CONFIG_CPU_SH4)		:= cache-sh4.o flush-sh4.o
 cacheops-$(CONFIG_CPU_SH4)		:= cache-sh4.o flush-sh4.o
 cacheops-$(CONFIG_CPU_SH5)		:= cache-sh5.o flush-sh4.o
 cacheops-$(CONFIG_CPU_SH5)		:= cache-sh5.o flush-sh4.o
 cacheops-$(CONFIG_SH7705_CACHE_32KB)	+= cache-sh7705.o
 cacheops-$(CONFIG_SH7705_CACHE_32KB)	+= cache-sh7705.o
-endif
 
 
 obj-y			+= $(cacheops-y)
 obj-y			+= $(cacheops-y)