linux-stable/arch/riscv
Paul Walmsley 2d69fbf3d0 riscv: fix build break after macro-to-function conversion in generic cacheflush.h
Commit c296d4dc13 ("asm-generic: fix a compilation warning")
converted the various flush_*cache_* macros in
asm-generic/cacheflush.h to static inline functions.  This breaks
RISC-V builds, since RISC-V's cacheflush.h includes the generic
cacheflush.h and then undefines the macros to be overridden.

Fix by copying the subset of the no-op functions that are reused from
the generic cacheflush.h into the RISC-V cacheflush.h, and dropping
the include of the generic cacheflush.h.

Fixes: c296d4dc13 ("asm-generic: fix a compilation warning")
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Qian Cai <cai@lca.pw>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
2019-07-18 08:16:56 -07:00
..
boot arch: riscv: add config option for building SiFive's SoC resource 2019-07-01 13:15:36 -07:00
configs riscv: defconfig: enable SOC_SIFIVE 2019-07-01 13:20:05 -07:00
include riscv: fix build break after macro-to-function conversion in generic cacheflush.h 2019-07-18 08:16:56 -07:00
kernel RISC-V: Add an Image header that boot loader can parse. 2019-07-11 11:58:20 -07:00
lib RISC-V patches for v5.2-rc6 2019-06-17 10:34:03 -07:00
mm RISC-V: Setup initial page tables in two stages 2019-07-09 09:08:04 -07:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2019-06-07 14:46:47 -07:00
Kconfig riscv: Introduce huge page support for 32/64bit kernel 2019-07-03 15:23:38 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs riscv: select SiFive platform drivers with SOC_SIFIVE 2019-07-01 13:20:01 -07:00
Makefile riscv: remove CONFIG_RISCV_ISA_A 2019-04-25 14:51:10 -07:00