Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cxl: Move include file cxl.h -> cxl-base.h

This moves the current include file from cxl.h -> cxl-base.h. This current
include file is used only to pass information between the base driver that
needs to be built into the kernel and the cxl module.

This is to make way for a new include/misc/cxl.h which will
contain just the kernel API for other driver to use

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Michael Neuling and committed by
Michael Ellerman
ec249dd8 406e12ec

+12 -12
+1 -1
MAINTAINERS
··· 2946 2946 L: linuxppc-dev@lists.ozlabs.org 2947 2947 S: Supported 2948 2948 F: drivers/misc/cxl/ 2949 - F: include/misc/cxl.h 2949 + F: include/misc/cxl* 2950 2950 F: include/uapi/misc/cxl.h 2951 2951 F: Documentation/powerpc/cxl.txt 2952 2952 F: Documentation/powerpc/cxl.txt
+1 -1
arch/powerpc/include/asm/pnv-pci.h
··· 11 11 #define _ASM_PNV_PCI_H 12 12 13 13 #include <linux/pci.h> 14 - #include <misc/cxl.h> 14 + #include <misc/cxl-base.h> 15 15 16 16 int pnv_phb_to_cxl_mode(struct pci_dev *dev, uint64_t mode); 17 17 int pnv_cxl_ioda_msi_setup(struct pci_dev *dev, unsigned int hwirq,
+1 -1
arch/powerpc/mm/copro_fault.c
··· 26 26 #include <asm/reg.h> 27 27 #include <asm/copro.h> 28 28 #include <asm/spu.h> 29 - #include <misc/cxl.h> 29 + #include <misc/cxl-base.h> 30 30 31 31 /* 32 32 * This ought to be kept in sync with the powerpc specific do_page_fault
+1 -1
arch/powerpc/mm/hash_native_64.c
··· 29 29 #include <asm/kexec.h> 30 30 #include <asm/ppc-opcode.h> 31 31 32 - #include <misc/cxl.h> 32 + #include <misc/cxl-base.h> 33 33 34 34 #ifdef DEBUG_LOW 35 35 #define DBG_LOW(fmt...) udbg_printf(fmt)
+1 -1
arch/powerpc/platforms/powernv/pci-ioda.c
··· 39 39 #include <asm/firmware.h> 40 40 #include <asm/pnv-pci.h> 41 41 42 - #include <misc/cxl.h> 42 + #include <misc/cxl-base.h> 43 43 44 44 #include "powernv.h" 45 45 #include "pci.h"
+1 -1
drivers/misc/cxl/base.c
··· 10 10 #include <linux/module.h> 11 11 #include <linux/rcupdate.h> 12 12 #include <asm/errno.h> 13 - #include <misc/cxl.h> 13 + #include <misc/cxl-base.h> 14 14 #include "cxl.h" 15 15 16 16 /* protected by rcu */
+1 -1
drivers/misc/cxl/cxl.h
··· 21 21 #include <asm/cputable.h> 22 22 #include <asm/mmu.h> 23 23 #include <asm/reg.h> 24 - #include <misc/cxl.h> 24 + #include <misc/cxl-base.h> 25 25 26 26 #include <uapi/misc/cxl.h> 27 27
+1 -1
drivers/misc/cxl/irq.c
··· 14 14 #include <linux/slab.h> 15 15 #include <linux/pid.h> 16 16 #include <asm/cputable.h> 17 - #include <misc/cxl.h> 17 + #include <misc/cxl-base.h> 18 18 19 19 #include "cxl.h" 20 20 #include "trace.h"
+1 -1
drivers/misc/cxl/main.c
··· 20 20 #include <linux/idr.h> 21 21 #include <linux/pci.h> 22 22 #include <asm/cputable.h> 23 - #include <misc/cxl.h> 23 + #include <misc/cxl-base.h> 24 24 25 25 #include "cxl.h" 26 26 #include "trace.h"
+1 -1
drivers/misc/cxl/native.c
··· 15 15 #include <linux/mm.h> 16 16 #include <linux/uaccess.h> 17 17 #include <asm/synch.h> 18 - #include <misc/cxl.h> 18 + #include <misc/cxl-base.h> 19 19 20 20 #include "cxl.h" 21 21 #include "trace.h"
+2 -2
include/misc/cxl.h include/misc/cxl-base.h
··· 7 7 * 2 of the License, or (at your option) any later version. 8 8 */ 9 9 10 - #ifndef _MISC_CXL_H 11 - #define _MISC_CXL_H 10 + #ifndef _MISC_CXL_BASE_H 11 + #define _MISC_CXL_BASE_H 12 12 13 13 #ifdef CONFIG_CXL_BASE 14 14