Skip to content

Commit

Permalink
cxl: Move include file cxl.h -> cxl-base.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mikey authored and mpe committed Jun 3, 2015
1 parent 406e12e commit ec249dd
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2946,7 +2946,7 @@ M: Michael Neuling <mikey@neuling.org>
L: linuxppc-dev@lists.ozlabs.org
S: Supported
F: drivers/misc/cxl/
F: include/misc/cxl.h
F: include/misc/cxl*
F: include/uapi/misc/cxl.h
F: Documentation/powerpc/cxl.txt
F: Documentation/powerpc/cxl.txt
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/pnv-pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define _ASM_PNV_PCI_H

#include <linux/pci.h>
#include <misc/cxl.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,
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/mm/copro_fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <asm/reg.h>
#include <asm/copro.h>
#include <asm/spu.h>
#include <misc/cxl.h>
#include <misc/cxl-base.h>

/*
* This ought to be kept in sync with the powerpc specific do_page_fault
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/mm/hash_native_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <asm/kexec.h>
#include <asm/ppc-opcode.h>

#include <misc/cxl.h>
#include <misc/cxl-base.h>

#ifdef DEBUG_LOW
#define DBG_LOW(fmt...) udbg_printf(fmt)
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/powernv/pci-ioda.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <asm/firmware.h>
#include <asm/pnv-pci.h>

#include <misc/cxl.h>
#include <misc/cxl-base.h>

#include "powernv.h"
#include "pci.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/cxl/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <linux/module.h>
#include <linux/rcupdate.h>
#include <asm/errno.h>
#include <misc/cxl.h>
#include <misc/cxl-base.h>
#include "cxl.h"

/* protected by rcu */
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/cxl/cxl.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <asm/cputable.h>
#include <asm/mmu.h>
#include <asm/reg.h>
#include <misc/cxl.h>
#include <misc/cxl-base.h>

#include <uapi/misc/cxl.h>

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/cxl/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/slab.h>
#include <linux/pid.h>
#include <asm/cputable.h>
#include <misc/cxl.h>
#include <misc/cxl-base.h>

#include "cxl.h"
#include "trace.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/cxl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <linux/idr.h>
#include <linux/pci.h>
#include <asm/cputable.h>
#include <misc/cxl.h>
#include <misc/cxl-base.h>

#include "cxl.h"
#include "trace.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/cxl/native.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <linux/mm.h>
#include <linux/uaccess.h>
#include <asm/synch.h>
#include <misc/cxl.h>
#include <misc/cxl-base.h>

#include "cxl.h"
#include "trace.h"
Expand Down
4 changes: 2 additions & 2 deletions include/misc/cxl.h → include/misc/cxl-base.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* 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

#ifdef CONFIG_CXL_BASE

Expand Down

0 comments on commit ec249dd

Please sign in to comment.