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

cxl/ocxl: Prepare cleanup of powerpc's asm/prom.h

powerpc's asm/prom.h brings some headers that it doesn't
need itself.

In order to clean it up, first add missing headers in
users of asm/prom.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a2bae89b280e7a7cb87889635d9911d6a245e780.1648833388.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
d8d2af70 a486e512

+12
+1
drivers/misc/cxl/api.c
··· 12 12 #include <linux/pseudo_fs.h> 13 13 #include <linux/sched/mm.h> 14 14 #include <linux/mmu_context.h> 15 + #include <linux/irqdomain.h> 15 16 16 17 #include "cxl.h" 17 18
+2
drivers/misc/cxl/cxl.h
··· 25 25 26 26 extern uint cxl_verbose; 27 27 28 + struct property; 29 + 28 30 #define CXL_TIMEOUT 5 29 31 30 32 /*
+1
drivers/misc/cxl/cxllib.c
··· 5 5 6 6 #include <linux/hugetlb.h> 7 7 #include <linux/sched/mm.h> 8 + #include <asm/opal-api.h> 8 9 #include <asm/pnv-pci.h> 9 10 #include <misc/cxllib.h> 10 11
+1
drivers/misc/cxl/flash.c
··· 4 4 #include <linux/semaphore.h> 5 5 #include <linux/slab.h> 6 6 #include <linux/uaccess.h> 7 + #include <linux/of.h> 7 8 #include <asm/rtas.h> 8 9 9 10 #include "cxl.h"
+2
drivers/misc/cxl/guest.c
··· 6 6 #include <linux/spinlock.h> 7 7 #include <linux/uaccess.h> 8 8 #include <linux/delay.h> 9 + #include <linux/irqdomain.h> 10 + #include <linux/platform_device.h> 9 11 10 12 #include "cxl.h" 11 13 #include "hcalls.h"
+1
drivers/misc/cxl/irq.c
··· 4 4 */ 5 5 6 6 #include <linux/interrupt.h> 7 + #include <linux/irqdomain.h> 7 8 #include <linux/workqueue.h> 8 9 #include <linux/sched.h> 9 10 #include <linux/wait.h>
+1
drivers/misc/cxl/main.c
··· 15 15 #include <linux/slab.h> 16 16 #include <linux/idr.h> 17 17 #include <linux/pci.h> 18 + #include <linux/platform_device.h> 18 19 #include <linux/sched/task.h> 19 20 20 21 #include <asm/cputable.h>
+1
drivers/misc/cxl/native.c
··· 11 11 #include <linux/mm.h> 12 12 #include <linux/uaccess.h> 13 13 #include <linux/delay.h> 14 + #include <linux/irqdomain.h> 14 15 #include <asm/synch.h> 15 16 #include <asm/switch_to.h> 16 17 #include <misc/cxl-base.h>
+1
drivers/misc/ocxl/afu_irq.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0+ 2 2 // Copyright 2017 IBM Corp. 3 3 #include <linux/interrupt.h> 4 + #include <linux/irqdomain.h> 4 5 #include <asm/pnv-ocxl.h> 5 6 #include <asm/xive.h> 6 7 #include "ocxl_internal.h"
+1
drivers/misc/ocxl/link.c
··· 6 6 #include <linux/mm_types.h> 7 7 #include <linux/mmu_context.h> 8 8 #include <linux/mmu_notifier.h> 9 + #include <linux/irqdomain.h> 9 10 #include <asm/copro.h> 10 11 #include <asm/pnv-ocxl.h> 11 12 #include <asm/xive.h>