MIPS: Move declaration of bcache ops to cache.c
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 4 Apr 2023 09:33:40 +0000 (10:33 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 5 Apr 2023 07:45:08 +0000 (09:45 +0200)
commit393a759647061bc29c1d62f83c7d36cacc912a89
tree5328815e6a987d4474b80e1b5ad99561b49be9d1
parent101f26c72825c5dba1dfe826e4202a9a04b435c6
MIPS: Move declaration of bcache ops to cache.c

bcache is not tied to CPU's cache interface. Just move those
declaration to cache.c so it can be avaialble to CPU with all
cache types.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/cache.h
arch/mips/mm/c-r4k.c
arch/mips/mm/cache.c