linux/arch/mips/include/asm
Matthew Wilcox (Oracle) 522a0032af Add linux/cacheflush.h
Many architectures do not include asm-generic/cacheflush.h, so turn
the includes on their head and add linux/cacheflush.h which includes
asm/cacheflush.h.

Move the flush_dcache_folio() declaration from asm-generic/cacheflush.h
to linux/cacheflush.h and change linux/highmem.h to include
linux/cacheflush.h instead of asm/cacheflush.h so that all necessary
places will see flush_dcache_folio().

More functions should have their default implementations moved in the
future, but those are for follow-on patches.  This fixes csky, sparc and
sparc64 which were missed in the commit which added flush_dcache_folio().

Fixes: 08b0b0059b ("mm: Add flush_dcache_folio()")
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2021-11-17 10:36:15 -05:00
..
dec
fw
ip32
mach-ar7 mips: ar7: convert to CONFIG_COMMON_CLK 2021-06-08 17:00:09 +02:00
mach-ath25
mach-ath79
mach-au1x00 MIPS: cpu-probe: remove MIPS_CPU_BP_GHIST option bit 2020-10-12 12:05:40 +02:00
mach-bcm47xx
mach-bcm63xx
mach-bmips
mach-cavium-octeon MIPS: Loongson64: Add kexec/kdump support 2021-04-16 09:18:06 +02:00
mach-cobalt
mach-db1x00
mach-dec
mach-generic MIPS: Remove KVM_GUEST support 2021-03-10 15:18:40 +01:00
mach-ingenic
mach-ip22
mach-ip27
mach-ip28
mach-ip30
mach-ip32
mach-jazz
mach-lantiq MIPS: lantiq: dma: make the burst length configurable by the drivers 2021-09-15 11:02:01 +01:00
mach-loongson2ef arch: mips: Remove CONFIG_OPROFILE support 2021-01-22 12:12:26 +05:30
mach-loongson32
mach-loongson64 MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
mach-malta
mach-n64 mips: Add N64 machine type 2021-01-22 11:40:00 +01:00
mach-pic32
mach-ralink MIPS: ralink: set PCI_IOBASE to 'mips_io_port_base' 2021-10-05 12:36:25 +02:00
mach-rc32434 MIPS: don't include <linux/genhd.h> in <asm/mach-rc32434/rb.h> 2021-08-02 13:37:27 -06:00
mach-rm
mach-sibyte
mach-tx39xx
mach-tx49xx
mach-vr41xx
mips-boards MIPS: launch.h: add include guard to prevent build errors 2021-05-25 15:18:59 +02:00
octeon MIPS: octeon: Remove unused functions 2021-10-24 17:15:06 +02:00
pci
sgi
sibyte
sn
txx9
vdso MIPS: vdso: Invalid GIC access through VDSO 2021-07-09 15:29:06 +02:00
vr41xx
xtalk
Kbuild mips: syscalls: switch to generic syscalltbl.sh 2021-03-10 15:19:14 +01:00
abi.h
addrspace.h
amon.h
arch_hweight.h
asm-eva.h
asm-offsets.h
asm-prototypes.h
asm.h MIPS/asm/printk: Fix build failure caused by printk 2021-07-23 09:25:30 +02:00
asmmacro-32.h
asmmacro-64.h
asmmacro.h MIPS: fix local_irq_{disable,enable} in asmmacro.h 2021-03-24 10:48:55 +01:00
atomic.h MIPS: locking/atomic: Fix atomic{_64,}_sub_if_positive 2021-08-05 11:01:18 +02:00
barrier.h
bcache.h
bitops.h MIPS: bitops: fix -Wshadow in asm/bitops.h 2021-01-15 15:28:56 +01:00
bitrev.h
bmips-spaces.h
bmips.h
bootinfo.h MIPS: Ingenic: Add system type for new Ingenic SoCs. 2021-07-19 13:16:42 +02:00
branch.h
break.h
bug.h
bugs.h
cache.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
cacheflush.h Add linux/cacheflush.h 2021-11-17 10:36:15 -05:00
cacheops.h
cdmm.h
cevt-r4k.h
checksum.h MIPS: Fix inline asm input/output type mismatch in checksum.h used with Clang 2021-01-27 21:59:28 +01:00
clocksource.h
cmp.h
cmpxchg.h MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL 2021-10-24 17:15:29 +02:00
compat-signal.h
compat.h arch: remove compat_alloc_user_space 2021-09-08 15:32:35 -07:00
compiler.h MIPS: remove GCC < 4.9 support 2020-11-11 23:49:22 +01:00
cop2.h MIPS: Remove NETLOGIC support 2021-10-24 17:24:47 +02:00
cpu-features.h MIPS: MT extensions are not available on MIPS32r1 2021-06-29 10:14:58 +02:00
cpu-info.h
cpu-type.h MIPS: Remove NETLOGIC support 2021-10-24 17:24:47 +02:00
cpu.h MIPS: Remove NETLOGIC support 2021-10-24 17:24:47 +02:00
cpufeature.h
debug.h
delay.h
div64.h MIPS: Avoid handcoded DIVU in `__div64_32' altogether 2021-04-23 13:40:31 +02:00
dma-direct.h
dma-mapping.h
dma.h
dmi.h
ds1287.h
dsemul.h
dsp.h
edac.h
elf.h mips compat: switch to compat_binfmt_elf.c 2021-01-06 08:42:49 -05:00
elfcore-compat.h mips compat: switch to compat_binfmt_elf.c 2021-01-06 08:42:49 -05:00
errno.h
eva.h
exec.h
extable.h
fb.h
fixmap.h mips/mm/highmem: Switch to generic kmap atomic 2020-11-06 23:14:56 +01:00
floppy.h
fpregdef.h
fpu.h MIPS: Fix unreachable code issue 2021-07-13 15:08:15 -05:00
fpu_emulator.h
ftrace.h
futex.h
ginvt.h MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
gio_device.h
gt64120.h
hardirq.h
hazards.h MIPS: Remove NETLOGIC support 2021-10-24 17:24:47 +02:00
highmem.h MIPS: Fix PKMAP with 32-bit MIPS huge page support 2021-06-30 14:41:32 +02:00
hpet.h
hugetlb.h hugetlb: clear huge pte during flush function on mips platform 2021-05-11 22:34:53 +02:00
hw_irq.h
i8259.h
ide.h
idle.h
inst.h MIPS: Make definitions of MIPSInst_FMA_{FUNC,FMTM} consistent with MIPS64 manual 2021-01-22 11:45:52 +01:00
io.h mm: remove xlate_dev_kmem_ptr() 2021-05-07 00:26:34 -07:00
irq.h irqchip/mips: Fix RCU violation when using irqdomain lookup on interrupt entry 2021-07-09 10:18:58 +01:00
irq_cpu.h MIPS: Kill RM7K & RM9K IRQ Code 2021-01-04 11:37:27 +01:00
irq_gt641xx.h
irq_regs.h
irqflags.h
isa-rev.h
isadep.h
jazz.h
jazzdma.h
jump_label.h
kdebug.h
kexec.h
kgdb.h
kprobes.h
kvm_host.h KVM: stats: Separate generic stats from architecture specific ones 2021-06-24 11:47:56 -04:00
kvm_types.h
linkage.h
llsc.h
local.h
maar.h
machine.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
mc146818-time.h
mc146818rtc.h
mips-cm.h mips: cm: Convert to bitfield API to fix out-of-bounds access 2021-11-02 10:53:52 +01:00
mips-cpc.h
mips-cps.h MIPS: Revert "add support for buggy MT7621S core detection" 2021-10-02 10:23:35 +02:00
mips-gic.h
mips-r2-to-r6-emul.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
mmiowb.h
mmu.h
mmu_context.h mips: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
mmzone.h mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA 2021-06-29 10:53:55 -07:00
module.h
msa.h MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
msc01_ic.h
paccess.h
page.h mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA 2021-06-29 10:53:55 -07:00
pci.h MIPS: asm: pci: define arch-specific 'pci_remap_iospace()' dependent on 'CONFIG_PCI_DRIVERS_GENERIC' 2021-10-09 10:37:21 +02:00
perf_event.h
pgalloc.h MIPS: check return value of pgtable_pmd_page_ctor 2021-08-05 11:45:42 +02:00
pgtable-32.h mm: define default value for FIRST_USER_ADDRESS 2021-07-01 11:06:02 -07:00
pgtable-64.h mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t * 2021-07-08 11:48:22 -07:00
pgtable-bits.h
pgtable.h mips: fix HUGETLB function without THP enabled 2021-11-02 11:15:09 +01:00
pm-cps.h
pm.h
prefetch.h
processor.h - added printing of CPU options for /proc/cpuinfo 2021-11-05 08:13:19 -07:00
prom.h
ptrace.h Revert "MIPS: Add basic support for ptrace single step" 2021-02-18 11:57:44 +01:00
r4k-timer.h
r4kcache.h MIPS: Simplify EVA cache handling 2021-02-13 09:53:23 +01:00
reboot.h
reg.h
regdef.h
rtlx.h
seccomp.h
setup.h
sgialib.h
sgiarcs.h
shmparam.h
sigcontext.h
signal.h
sim.h
smp-cps.h
smp-ops.h
smp.h
sni.h
socket.h
sparsemem.h
spinlock.h locking/arch: Move qrwlock.h include after qspinlock.h 2021-02-11 07:59:54 -05:00
spinlock_types.h
spram.h MIPS: asm: spram: remove unneeded semicolon 2021-01-27 21:50:22 +01:00
stackframe.h
stackprotector.h
stacktrace.h
string.h
switch_to.h
sync.h
syscall.h
termios.h
thread_info.h MIPS: Remove get_fs/set_fs 2021-04-06 15:12:58 +02:00
time.h
timex.h
tlb.h
tlbdebug.h
tlbex.h
tlbflush.h
tlbmisc.h
topology.h
traps.h MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
txx9irq.h
txx9pio.h
txx9tmr.h
types.h mips: Remove #include <uapi/asm/types.h> from <asm/types.h> 2020-11-11 23:45:46 +01:00
uaccess.h arch: remove compat_alloc_user_space 2021-09-08 15:32:35 -07:00
uasm.h mips, uasm: Add workaround for Loongson-2F nop CPU errata 2021-10-06 12:28:09 -07:00
unaligned-emul.h
unistd.h mips: syscalls: define syscall offsets directly in <asm/unistd.h> 2021-06-01 11:17:24 +02:00
unroll.h
uprobes.h
vdso.h
vermagic.h MIPS: Remove NETLOGIC support 2021-10-24 17:24:47 +02:00
vga.h
vmalloc.h
vpe.h MIPS: vpe: Remove vpe_getcwd 2021-01-27 21:49:16 +01:00
war.h
watch.h
wbflush.h
yamon-dt.h