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>
L: linuxppc-dev@lists.ozlabs.org
S: Supported
F: drivers/misc/cxl/
L: linuxppc-dev@lists.ozlabs.org
S: Supported
F: drivers/misc/cxl/
F: include/uapi/misc/cxl.h
F: Documentation/powerpc/cxl.txt
F: Documentation/powerpc/cxl.txt
F: include/uapi/misc/cxl.h
F: Documentation/powerpc/cxl.txt
F: Documentation/powerpc/cxl.txt
#define _ASM_PNV_PCI_H
#include <linux/pci.h>
#define _ASM_PNV_PCI_H
#include <linux/pci.h>
+#include <misc/cxl-base.h>
int pnv_phb_to_cxl_mode(struct pci_dev *dev, uint64_t mode);
int pnv_cxl_ioda_msi_setup(struct pci_dev *dev, unsigned int hwirq,
int pnv_phb_to_cxl_mode(struct pci_dev *dev, uint64_t mode);
int pnv_cxl_ioda_msi_setup(struct pci_dev *dev, unsigned int hwirq,
#include <asm/reg.h>
#include <asm/copro.h>
#include <asm/spu.h>
#include <asm/reg.h>
#include <asm/copro.h>
#include <asm/spu.h>
+#include <misc/cxl-base.h>
/*
* This ought to be kept in sync with the powerpc specific do_page_fault
/*
* This ought to be kept in sync with the powerpc specific do_page_fault
#include <asm/kexec.h>
#include <asm/ppc-opcode.h>
#include <asm/kexec.h>
#include <asm/ppc-opcode.h>
+#include <misc/cxl-base.h>
#ifdef DEBUG_LOW
#define DBG_LOW(fmt...) udbg_printf(fmt)
#ifdef DEBUG_LOW
#define DBG_LOW(fmt...) udbg_printf(fmt)
#include <asm/firmware.h>
#include <asm/pnv-pci.h>
#include <asm/firmware.h>
#include <asm/pnv-pci.h>
+#include <misc/cxl-base.h>
#include "powernv.h"
#include "pci.h"
#include "powernv.h"
#include "pci.h"
#include <linux/module.h>
#include <linux/rcupdate.h>
#include <asm/errno.h>
#include <linux/module.h>
#include <linux/rcupdate.h>
#include <asm/errno.h>
+#include <misc/cxl-base.h>
#include "cxl.h"
/* protected by rcu */
#include "cxl.h"
/* protected by rcu */
#include <asm/cputable.h>
#include <asm/mmu.h>
#include <asm/reg.h>
#include <asm/cputable.h>
#include <asm/mmu.h>
#include <asm/reg.h>
+#include <misc/cxl-base.h>
#include <uapi/misc/cxl.h>
#include <uapi/misc/cxl.h>
#include <linux/slab.h>
#include <linux/pid.h>
#include <asm/cputable.h>
#include <linux/slab.h>
#include <linux/pid.h>
#include <asm/cputable.h>
+#include <misc/cxl-base.h>
#include "cxl.h"
#include "trace.h"
#include "cxl.h"
#include "trace.h"
#include <linux/idr.h>
#include <linux/pci.h>
#include <asm/cputable.h>
#include <linux/idr.h>
#include <linux/pci.h>
#include <asm/cputable.h>
+#include <misc/cxl-base.h>
#include "cxl.h"
#include "trace.h"
#include "cxl.h"
#include "trace.h"
#include <linux/mm.h>
#include <linux/uaccess.h>
#include <asm/synch.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
#include <asm/synch.h>
+#include <misc/cxl-base.h>
#include "cxl.h"
#include "trace.h"
#include "cxl.h"
#include "trace.h"
* 2 of the License, or (at your option) any later version.
*/
* 2 of the License, or (at your option) any later version.
*/
-#ifndef _MISC_CXL_H
-#define _MISC_CXL_H
+#ifndef _MISC_CXL_BASE_H
+#define _MISC_CXL_BASE_H