diff mbox series

[Xen-devel,for-4.12,v2,03/17] xen/arm: p2m: Clean-up headers included and order them alphabetically

Message ID 20181204202651.8836-4-julien.grall@arm.com
State New
Headers show
Series xen/arm: Implement Set/Way operations | expand

Commit Message

Julien Grall Dec. 4, 2018, 8:26 p.m. UTC
A lot of the headers are not necessary, so remove them. At the same
time, re-order them alphabetically.

Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/arch/arm/p2m.c | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

Comments

Stefano Stabellini Dec. 4, 2018, 11:47 p.m. UTC | #1
On Tue, 4 Dec 2018, Julien Grall wrote:
> A lot of the headers are not necessary, so remove them. At the same
> time, re-order them alphabetically.
> 
> Signed-off-by: Julien Grall <julien.grall@arm.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>

> ---
>  xen/arch/arm/p2m.c | 18 +++++-------------
>  1 file changed, 5 insertions(+), 13 deletions(-)
> 
> diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c
> index 6c76298ebc..81f3107dd2 100644
> --- a/xen/arch/arm/p2m.c
> +++ b/xen/arch/arm/p2m.c
> @@ -1,19 +1,11 @@
> -#include <xen/sched.h>
> -#include <xen/lib.h>
> -#include <xen/errno.h>
> +#include <xen/cpu.h>
>  #include <xen/domain_page.h>
> -#include <xen/bitops.h>
> -#include <xen/vm_event.h>
> -#include <xen/monitor.h>
>  #include <xen/iocap.h>
> -#include <xen/mem_access.h>
> -#include <xen/xmalloc.h>
> -#include <xen/cpu.h>
> -#include <xen/notifier.h>
> -#include <public/vm_event.h>
> -#include <asm/flushtlb.h>
> +#include <xen/lib.h>
> +#include <xen/sched.h>
> +
>  #include <asm/event.h>
> -#include <asm/hardirq.h>
> +#include <asm/flushtlb.h>
>  #include <asm/page.h>
>  
>  #define MAX_VMID_8_BIT  (1UL << 8)
> -- 
> 2.11.0
>
diff mbox series

Patch

diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c
index 6c76298ebc..81f3107dd2 100644
--- a/xen/arch/arm/p2m.c
+++ b/xen/arch/arm/p2m.c
@@ -1,19 +1,11 @@ 
-#include <xen/sched.h>
-#include <xen/lib.h>
-#include <xen/errno.h>
+#include <xen/cpu.h>
 #include <xen/domain_page.h>
-#include <xen/bitops.h>
-#include <xen/vm_event.h>
-#include <xen/monitor.h>
 #include <xen/iocap.h>
-#include <xen/mem_access.h>
-#include <xen/xmalloc.h>
-#include <xen/cpu.h>
-#include <xen/notifier.h>
-#include <public/vm_event.h>
-#include <asm/flushtlb.h>
+#include <xen/lib.h>
+#include <xen/sched.h>
+
 #include <asm/event.h>
-#include <asm/hardirq.h>
+#include <asm/flushtlb.h>
 #include <asm/page.h>
 
 #define MAX_VMID_8_BIT  (1UL << 8)