[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 5/7] xen/xsm: Switch to byteswap.h
On 10/22/21 6:47 AM, Lin Liu wrote: > 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> > Reviewed by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |