[Xen-devel,05/11] xen/arm: vtimer: Re-order the includes alphabetically

Message ID 20170811180257.5493-6-julien.grall@arm.com
State Accepted
Commit 9053a74c08fd6abf43bb45ff932b4386de7e8510
Headers show
Series
  • xen/arm: Clean-up traps.c
Related show

Commit Message

Julien Grall Aug. 11, 2017, 6:02 p.m.
Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/arch/arm/vtimer.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Comments

Stefano Stabellini Aug. 21, 2017, 9:16 p.m. | #1
On Fri, 11 Aug 2017, Julien Grall wrote:
> Signed-off-by: Julien Grall <julien.grall@arm.com>

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

and applied

> ---
>  xen/arch/arm/vtimer.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c
> index 32ac1279ae..9c7e8f441c 100644
> --- a/xen/arch/arm/vtimer.c
> +++ b/xen/arch/arm/vtimer.c
> @@ -18,16 +18,17 @@
>   */
>  
>  #include <xen/lib.h>
> -#include <xen/timer.h>
> -#include <xen/sched.h>
>  #include <xen/perfc.h>
> +#include <xen/sched.h>
> +#include <xen/timer.h>
> +
>  #include <asm/div64.h>
> +#include <asm/gic.h>
>  #include <asm/irq.h>
> +#include <asm/regs.h>
>  #include <asm/time.h>
> -#include <asm/gic.h>
>  #include <asm/vgic.h>
>  #include <asm/vreg.h>
> -#include <asm/regs.h>
>  
>  /*
>   * Check if regs is allowed access, user_gate is tail end of a
> -- 
> 2.11.0
>

Patch

diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c
index 32ac1279ae..9c7e8f441c 100644
--- a/xen/arch/arm/vtimer.c
+++ b/xen/arch/arm/vtimer.c
@@ -18,16 +18,17 @@ 
  */
 
 #include <xen/lib.h>
-#include <xen/timer.h>
-#include <xen/sched.h>
 #include <xen/perfc.h>
+#include <xen/sched.h>
+#include <xen/timer.h>
+
 #include <asm/div64.h>
+#include <asm/gic.h>
 #include <asm/irq.h>
+#include <asm/regs.h>
 #include <asm/time.h>
-#include <asm/gic.h>
 #include <asm/vgic.h>
 #include <asm/vreg.h>
-#include <asm/regs.h>
 
 /*
  * Check if regs is allowed access, user_gate is tail end of a