From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Daney Subject: [PATCH 0/2] NUMA related header file cleanups. Date: Wed, 24 Feb 2016 16:02:06 -0800 Message-ID: <1456358528-24213-1-git-send-email-ddaney.cavm@gmail.com> Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=TrhL/HZ7enm/f2jnj4sgIsUq6XRru6EQYESux8cD73o=; b=fy6PMlAjxZo+ULgi1BZh4LwL6ouAO4rWI45HuuOIGdqmN5kcpU+irBzBh+7IS0+ivP 7CZjR/EhFTx7TikMDRFdyIm2cxz2xqbiZdmzlQdzUBBcm1/U+y0kEjEaqtPWnW8PFJVh pS2e41i76WHYlrt30KEYvZnrEGv6k6pA21hGQpdnc3NVzDAkCXRiMqYz4kOTadaXbQCc DiFzeUEU007sFhPHhvv7w61RV5bl4L5D3/b1DEVu/L3ZUu6srR8S5Dn6Fo1AlU+cu2Pz ya4aeyjAs1CxUVCksXFjqKsaYdWwjOchvVXnVm2ZcYmkF/N/NgC+9lu/rwRAarz8eHEr 4HCQ== Sender: linux-arch-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Will Deacon , linux-arm-kernel@lists.infradead.org, Mark Rutland , Catalin Marinas , Tony Luck , Fenghua Yu , James Hogan , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Martin Schwidefsky , Heiko Carstens , Yoshinori Sato , Rich Felker , "David S. Miller" , Chris Metcalf , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Arnd Bergmann , linux-ia64@vger.kernel.org, linux-metag@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s39 Cc: linux-kernel@vger.kernel.org, David Daney From: David Daney Refactor many architectures' cpumask_of_pcibus and NODE_DATA definitions by moving them to asm-generic. Tested on arm64. Build tested on ia64, m32r, powerpc, s390, sh, sparc(64), tile, x86 This patch set (arm64 portion) depends on this one: https://lkml.org/lkml/2016/2/22/1066 Earler versions of these patches were part of the arm64 NUMA patch set. They have been split out here into a separate set. Ganapatrao Kulkarni (2): topology, cleanup: Avoid redefinition of cpumask_of_pcibus in asm header files. numa, mm, cleanup: remove redundant NODE_DATA macro from asm header files. arch/arm64/include/asm/mmzone.h | 4 +--- arch/arm64/include/asm/topology.h | 3 --- arch/ia64/include/asm/topology.h | 4 ---- arch/m32r/include/asm/mmzone.h | 4 +--- arch/metag/include/asm/mmzone.h | 4 +--- arch/metag/include/asm/topology.h | 3 --- arch/powerpc/include/asm/mmzone.h | 8 ++------ arch/powerpc/include/asm/topology.h | 4 ---- arch/s390/include/asm/mmzone.h | 6 +----- arch/s390/include/asm/pci.h | 2 +- arch/s390/include/asm/topology.h | 1 + arch/sh/include/asm/mmzone.h | 4 +--- arch/sh/include/asm/topology.h | 3 --- arch/sparc/include/asm/mmzone.h | 6 ++---- arch/tile/include/asm/pci.h | 2 -- arch/tile/include/asm/topology.h | 3 +++ arch/x86/include/asm/mmzone.h | 3 +-- arch/x86/include/asm/mmzone_32.h | 5 ----- arch/x86/include/asm/mmzone_64.h | 17 ----------------- arch/x86/include/asm/pci.h | 2 +- arch/x86/include/asm/topology.h | 1 + include/asm-generic/mmzone.h | 24 ++++++++++++++++++++++++ include/asm-generic/topology.h | 4 ++-- 23 files changed, 43 insertions(+), 74 deletions(-) delete mode 100644 arch/x86/include/asm/mmzone_64.h create mode 100644 include/asm-generic/mmzone.h -- 1.8.3.1