]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Rename the "Fill" cache ops to avoid build failure
authorHuacai Chen <chenhc@lemote.com>
Sun, 26 Apr 2020 11:09:52 +0000 (19:09 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 26 Apr 2020 13:40:50 +0000 (15:40 +0200)
commit9978352724c5047565d4dfa2d510a2aef58b2d4a
tree2c627f5bf1e0d99790bc5896b129ad8ecb688bbd
parent05f49aab83f27120bf125c0582722b846502fd62
MIPS: Rename the "Fill" cache ops to avoid build failure

MIPS define a "Fill" macro as a cache operation in cacheops.h, this
will cause build failure under some special configurations because in
seq_file.c there is a "Fill" label. To avoid this failure we rename the
"Fill" macro to "Fill_I" which has the same coding style as other cache
operations in cacheops.h (we think renaming the "Fill" macro is more
reasonable than renaming the "Fill" label).

Callers of "Fill" macro is also updated.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/cacheops.h
arch/mips/mm/c-r4k.c
arch/mips/pmcs-msp71xx/msp_setup.c