xen: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:31:36 +0000 (19:31 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:57 +0000 (08:00 -0600)
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/xen/events.c
drivers/xen/gnttab.c
drivers/xen/hypervisor.c
drivers/xen/pvblock.c
drivers/xen/xenbus.c
include/xen/events.h

index 2ebe20d..fa8b13d 100644 (file)
@@ -14,7 +14,6 @@
  *
  * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
  */
-#include <common.h>
 #include <log.h>
 
 #include <asm/io.h>
index 31e96e2..005694a 100644 (file)
@@ -14,7 +14,6 @@
  *
  * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
  */
-#include <common.h>
 #include <asm/global_data.h>
 #include <linux/compiler.h>
 #include <log.h>
index 0b2311b..d28df82 100644 (file)
@@ -8,7 +8,6 @@
  * Copyright (c) 2005, Grzegorz Milos, gm281@cam.ac.uk,Intel Research Cambridge
  * Copyright (c) 2020, EPAM Systems Inc.
  */
-#include <common.h>
 #include <cpu_func.h>
 #include <log.h>
 #include <memalign.h>
index 9fc51d2..0e47ffb 100644 (file)
@@ -7,7 +7,6 @@
 #define LOG_CATEGORY UCLASS_PVBLOCK
 
 #include <blk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <malloc.h>
index 177d144..36de525 100644 (file)
@@ -15,7 +15,6 @@
  * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary
  */
 
-#include <common.h>
 #include <log.h>
 
 #include <asm/armv8/mmu.h>
index 82bd18b..f0a8ef3 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef _EVENTS_H_
 #define _EVENTS_H_
 
+#include <asm/ptrace.h>
 #include <asm/xen/hypercall.h>
 #include <xen/interface/event_channel.h>