diff options
author | Michael Neuling <mikey@neuling.org> | 2015-05-27 16:06:58 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-03 13:27:16 +1000 |
commit | f46580a5cf07b3d35e357bb2401ae3c49cff7e65 (patch) | |
tree | 872a072b7a78e0723d301895400ab7cf4dd19bfc /arch/powerpc/include/asm/device.h | |
parent | 10e796309a670bb2c13eae5aa6f60e10d2d6a6e1 (diff) | |
download | op-kernel-dev-f46580a5cf07b3d35e357bb2401ae3c49cff7e65.zip op-kernel-dev-f46580a5cf07b3d35e357bb2401ae3c49cff7e65.tar.gz |
powerpc: Add cxl context to device archdata
Add cxl context pointer to archdata. We'll want to create one of these for cxl
PCI devices. Put them here until we can get a pci_dev specific private data.
This location was suggested by benh.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/device.h')
-rw-r--r-- | arch/powerpc/include/asm/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/device.h b/arch/powerpc/include/asm/device.h index 9f1371b..e9bdda8 100644 --- a/arch/powerpc/include/asm/device.h +++ b/arch/powerpc/include/asm/device.h @@ -46,6 +46,9 @@ struct dev_archdata { #ifdef CONFIG_FAIL_IOMMU int fail_iommu; #endif +#ifdef CONFIG_CXL_BASE + struct cxl_context *cxl_ctx; +#endif }; struct pdev_archdata { |