All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien@xen.org>
To: xen-devel@lists.xenproject.org
Cc: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
	Julien Grall <jgrall@amazon.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	julien@xen.org
Subject: [PATCH v2 3/7] xen/arm: decode: Re-order the includes
Date: Thu, 30 Jul 2020 18:52:05 +0100	[thread overview]
Message-ID: <20200730175213.30679-6-julien@xen.org> (raw)
In-Reply-To: <20200730175213.30679-1-julien@xen.org>

From: Julien Grall <jgrall@amazon.com>

We usually have xen/ includes first and then asm/. They are also ordered
alphabetically among themselves.

Signed-off-by: Julien Grall <jgrall@amazon.com>
---
 xen/arch/arm/decode.c | 5 +++--
 xen/arch/arm/kernel.c | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/xen/arch/arm/decode.c b/xen/arch/arm/decode.c
index 8b1e15d11892..144793c8cea0 100644
--- a/xen/arch/arm/decode.c
+++ b/xen/arch/arm/decode.c
@@ -17,11 +17,12 @@
  * GNU General Public License for more details.
  */
 
-#include <xen/types.h>
+#include <xen/lib.h>
 #include <xen/sched.h>
+#include <xen/types.h>
+
 #include <asm/current.h>
 #include <asm/guest_access.h>
-#include <xen/lib.h>
 
 #include "decode.h"
 
diff --git a/xen/arch/arm/kernel.c b/xen/arch/arm/kernel.c
index f95fa392af44..032923853f2c 100644
--- a/xen/arch/arm/kernel.c
+++ b/xen/arch/arm/kernel.c
@@ -5,6 +5,7 @@
  */
 #include <xen/domain_page.h>
 #include <xen/errno.h>
+#include <xen/guest_access.h>
 #include <xen/gunzip.h>
 #include <xen/init.h>
 #include <xen/lib.h>
@@ -14,7 +15,6 @@
 #include <xen/vmap.h>
 
 #include <asm/byteorder.h>
-#include <asm/guest_access.h>
 #include <asm/kernel.h>
 #include <asm/setup.h>
 
-- 
2.17.1



  parent reply	other threads:[~2020-07-30 17:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-30 17:52 [PATCH v2 0/7] xen: Consolidate asm-*/guest_access.h in xen/guest_access.h Julien Grall
2020-07-30 17:52 ` [PATCH v2 1/6] xen/arm: kernel: Re-order the includes Julien Grall
2020-07-30 17:52 ` [PATCH v2 1/7] xen/guest_access: Add emacs magics Julien Grall
2020-07-30 17:52 ` [PATCH v2 2/6] xen/arm: decode: Re-order the includes Julien Grall
2020-07-30 17:52 ` [PATCH v2 2/7] xen/arm: kernel: " Julien Grall
2020-07-30 17:52 ` Julien Grall [this message]
2020-07-30 17:52 ` [PATCH v2 3/6] xen/arm: guestcopy: " Julien Grall
2020-07-30 17:52 ` [PATCH v2 4/7] " Julien Grall
2020-07-30 17:52 ` [PATCH v2 4/6] xen: include xen/guest_access.h rather than asm/guest_access.h Julien Grall
2020-07-30 17:52 ` [PATCH v2 5/6] xen/guest_access: Consolidate guest access helpers in xen/guest_access.h Julien Grall
2020-07-30 17:52 ` [PATCH v2 5/7] xen: include xen/guest_access.h rather than asm/guest_access.h Julien Grall
2020-07-30 17:52 ` [PATCH v2 6/7] xen/guest_access: Consolidate guest access helpers in xen/guest_access.h Julien Grall
2020-07-30 17:52 ` [PATCH v2 6/6] xen/guest_access: Fix coding style " Julien Grall
2020-07-30 17:52 ` [PATCH v2 7/7] " Julien Grall
2020-07-30 18:19 ` [PATCH v2 0/7] xen: Consolidate asm-*/guest_access.h " Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200730175213.30679-6-julien@xen.org \
    --to=julien@xen.org \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=jgrall@amazon.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.