From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752004AbeAXBk0 (ORCPT ); Tue, 23 Jan 2018 20:40:26 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:44541 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbeAXBkZ (ORCPT ); Tue, 23 Jan 2018 20:40:25 -0500 X-Google-Smtp-Source: AH8x225c77rnwNo/R5pTeJtmUVA7j2cQK5jPjFOPBCbX0vtk7f9cwJex5OMe4RD1TR89yacn8k7BQg== From: Florian Fainelli To: linux-mips@linux-mips.org Cc: jhogan@kernel.org, david.daney@cavium.com, paul.burton@mips.com, Florian Fainelli , Ralf Baechle , Kevin Cernekee , Huacai Chen , Jiaxun Yang , Bart Van Assche , Doug Ledford , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 0/2] MIPS: generic dma-coherence.h inclusion Date: Tue, 23 Jan 2018 17:40:08 -0800 Message-Id: <1516758010-7641-1-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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