[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/7] xen/xsm: Switch to byteswap.h
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Lin Liu <lin.liu@xxxxxxxxxx>
- Date: Fri, 22 Oct 2021 10:47:26 +0000
- Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Lin Liu <lin.liu@xxxxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 22 Oct 2021 10:48:14 +0000
- Ironport-data: A9a23:m7bC0qubxBSeGMlPh5sjBrMyKufnVIhZMUV32f8akzHdYApBsoF/q tZmKW3VOf/bYGvyeosnOY/j/EMG7cOGnN9qSFZo/yFkES8T+JbJXdiXEBz9bniYRiHhoOOLz Cm8hv3odp1coqr0/0/1WlTZQP0VOZigHtIQMsadUsxKbVIiGHhJZS5LwbZj29cw24LhWWthh PupyyHhEA79s9JLGjp8B5Kr8HuDa9yr5Vv0FnRnDRx6lAe2e0s9VfrzFonoR5fMeaFGH/bSe gr25OrRElU1XfsaIojNfr7TKiXmS1NJVOSEoiI+t6OK2nCuqsGuu0qS2TV1hUp/0l20c95NJ Nplu8fzUAMUJvT2vstEdUB8Gid/IqJI0eqSSZS/mZT7I0zudnLtx7NlDV0sPJ1e8eFyaY1M3 aVGcnZXNEnF3r/ohuLgIgVvrp1LwM3DOIIZ/HVh0BnSDOo8QICFSKLPjTNd9Gpt1pgRR6uFD yYfQTBjQw/pQAJlAWUoGZ4FnMGIqSPkcDIN/Tp5ooJoujOOnWSdyoPFPMLOf92WRe1chkuCu n/d5GP9Hw0bM9qEjzGC9xqEiuDDkCzhUaoOBba48bhsm1TVyWsNYDUGWF3+rfSnh0qWX9NEN 1dS6icotbI19kGgUp/6RRLQnZKflkdCAZwKSbR8sVzTjPqPi+qEOoQaZjAaK8UiiddvfxoFj 3n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bsby6zJw=
- Ironport-sdr: 5mV+QcJuMbU1xqtO+XxIArH03DeejP7wBDUKBvGVXkm3MZrcF9qzgOVv4yecmboHYycM1Vflk0 5i3hChc0YQ9YowmZezRDpSA32TSB8OCaxG+EHSxk9xZjxz5VlTa3M0Hw0XutKF0G1+hsnZVc+C 68ze2YdqIDFWFIItGHmjSV/FaZ7K30Mr751aZwc/YPLr3OF8bpzZtLbLa8mo5yx7jJ7DTlyE/V uZlNdYx3Q0Zu0Ul0quvuehcm2UHx55DlBQcIgiV4YiW4ZHr6/S15RDhUN7Wv8btxjVghqrHz1L X62c5dseILazvfIQRis2jK9r
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Update to use byteswap.h to swap bytes
No functional change
Signed-off-by: Lin Liu <lin.liu@xxxxxxxxxx>
---
Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Cc: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
---
xen/xsm/flask/ss/avtab.c | 2 +-
xen/xsm/flask/ss/conditional.c | 2 +-
xen/xsm/flask/ss/ebitmap.c | 2 +-
xen/xsm/flask/ss/policydb.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xen/xsm/flask/ss/avtab.c b/xen/xsm/flask/ss/avtab.c
index bfc91c8b0c..1fa796f625 100644
--- a/xen/xsm/flask/ss/avtab.c
+++ b/xen/xsm/flask/ss/avtab.c
@@ -19,8 +19,8 @@
/* Ported to Xen 3.0, George Coker, <gscoker@xxxxxxxxxxxxxx> */
+#include <xen/byteswap.h>
#include <xen/lib.h>
-#include <asm/byteorder.h>
#include <xen/types.h>
#include <xen/xmalloc.h>
#include <xen/errno.h>
diff --git a/xen/xsm/flask/ss/conditional.c b/xen/xsm/flask/ss/conditional.c
index 3e58aea551..059f6e07e5 100644
--- a/xen/xsm/flask/ss/conditional.c
+++ b/xen/xsm/flask/ss/conditional.c
@@ -9,7 +9,7 @@
/* Ported to Xen 3.0, George Coker, <gscoker@xxxxxxxxxxxxxx> */
-#include <asm/byteorder.h>
+#include <xen/byteswap.h>
#include <xen/lib.h>
#include <xen/types.h>
#include <xen/errno.h>
diff --git a/xen/xsm/flask/ss/ebitmap.c b/xen/xsm/flask/ss/ebitmap.c
index e1d0a586a7..1550437c6f 100644
--- a/xen/xsm/flask/ss/ebitmap.c
+++ b/xen/xsm/flask/ss/ebitmap.c
@@ -10,7 +10,7 @@
/* Ported to Xen 3.0, George Coker, <gscoker@xxxxxxxxxxxxxx> */
-#include <asm/byteorder.h>
+#include <xen/byteswap.h>
#include <xen/lib.h>
#include <xen/xmalloc.h>
#include <xen/errno.h>
diff --git a/xen/xsm/flask/ss/policydb.c b/xen/xsm/flask/ss/policydb.c
index 9426164353..595005c3b7 100644
--- a/xen/xsm/flask/ss/policydb.c
+++ b/xen/xsm/flask/ss/policydb.c
@@ -22,7 +22,7 @@
/* Ported to Xen 3.0, George Coker, <gscoker@xxxxxxxxxxxxxx> */
-#include <asm/byteorder.h>
+#include <xen/byteswap.h>
#include <xen/lib.h>
#include <xen/types.h>
#include <xen/xmalloc.h>
--
2.27.0
|