[PATCH 0/2] MIPS: generic dma-coherence.h inclusion
From: Florian Fainelli
Date: Tue Jan 23 2018 - 20:40:30 EST
Hi all,
This patch series does update mach-generic/dma-coherence.h to test whether a
machine is already defining any of the functions. This is aimed at avoiding the
need for every single platform to redefine its own functions, as well as make
us future proof in case we need to add new infrastructure, which I am about to.
Thanks
Florian Fainelli (2):
MIPS: Allow including mach-generic/dma-coherence.h
MIPS: Update dma-coherence.h files
arch/mips/include/asm/mach-ath25/dma-coherence.h | 10 +++++---
arch/mips/include/asm/mach-bmips/dma-coherence.h | 24 +++++--------------
.../include/asm/mach-cavium-octeon/dma-coherence.h | 14 +++++++----
arch/mips/include/asm/mach-generic/dma-coherence.h | 16 +++++++++++++
arch/mips/include/asm/mach-ip27/dma-coherence.h | 28 +++++-----------------
arch/mips/include/asm/mach-ip32/dma-coherence.h | 16 ++++++-------
arch/mips/include/asm/mach-jazz/dma-coherence.h | 24 ++++++-------------
.../include/asm/mach-loongson64/dma-coherence.h | 16 ++++++-------
8 files changed, 67 insertions(+), 81 deletions(-)
--
2.7.4