62bdb288bf
When caching is disabled on the MN10300 arch, the sys_cacheflush() function is removed by conditional stuff in the makefiles, but is still referred to by the syscall table. Provide a null version that just returns 0 when caching is disabled (or -EINVAL if the arguments are silly). Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 lines
357 B
Makefile
12 lines
357 B
Makefile
#
|
|
# Makefile for the MN10300-specific memory management code
|
|
#
|
|
|
|
cacheflush-y := cache.o cache-mn10300.o
|
|
cacheflush-$(CONFIG_MN10300_CACHE_WBACK) += cache-flush-mn10300.o
|
|
|
|
cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o
|
|
|
|
obj-y := \
|
|
init.o fault.o pgtable.o extable.o tlb-mn10300.o mmu-context.o \
|
|
misalignment.o dma-alloc.o $(cacheflush-y)
|