]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
fix SH7705_CACHE_32KB compilation
authorAdrian Bunk <bunk@kernel.org>
Tue, 5 Aug 2008 15:37:11 +0000 (18:37 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Aug 2008 11:17:49 +0000 (20:17 +0900)
commit7265706c8fd57722f622f336ec110cb35f83e739
treebd3f448b92acbf3f518598bd3171b9867d8699e2
parente77eb36472cdc425a3a81356c7b368e59a36da31
fix SH7705_CACHE_32KB compilation

This patches compile errors like the following caused by
commit 51f3547d619956e9b428bfff17004d8f4d259a02
(sh: Allow SH-3 and SH-5 to use common headers):

<--  snip  -->

...
  CC      arch/sh/mm/init.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c: In function 'mem_init':
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/mm/init.c:232: error: implicit declaration of function 'p3_cache_init'
make[2]: *** [arch/sh/mm/init.o] Error 1
make[1]: *** [arch/sh/mm] Error 2
...
  CC      kernel/fork.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c: In function 'dup_mmap':
/home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:323: error: implicit declaration of function 'flush_dcache_mmap_lock'
/home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/fork.c:325: error: implicit declaration of function 'flush_dcache_mmap_unlock'
make[2]: *** [kernel/fork.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/cpu-sh3/cpu/cacheflush.h