mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/common: Switch {asm -> xen}/byteorder.h
Sort the includes. Drop useless includes of xen/types.h Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
108a4cb339
commit
2ccaaa52b4
7 files changed
+12
-11
No files matched your search
+2
-3
@@ -5,14 +5,13 @@
|
||||
* This source code is licensed under the GNU General Public License,
|
||||
* Version 2. See the file COPYING for more details.
|
||||
*/
|
||||
#include <xen/types.h>
|
||||
#include <xen/errno.h>
|
||||
#include <xen/bitmap.h>
|
||||
#include <xen/bitops.h>
|
||||
#include <xen/byteorder.h>
|
||||
#include <xen/cpumask.h>
|
||||
#include <xen/errno.h>
|
||||
#include <xen/guest_access.h>
|
||||
#include <xen/lib.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
/*
|
||||
* bitmaps provide an array of bits, implemented using an an
|
||||
|
||||
@@ -17,10 +17,11 @@
|
||||
|
||||
#ifdef __XEN__
|
||||
|
||||
#include <xen/byteorder.h>
|
||||
#include <xen/lib.h>
|
||||
#include <xen/libelf.h>
|
||||
#include <xen/softirq.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#include <public/elfnote.h>
|
||||
|
||||
/* we would like to use elf->log_callback but we can't because
|
||||
|
||||
@@ -5,15 +5,17 @@
|
||||
* Linux; see the Linux source for authorship and copyrights.
|
||||
*/
|
||||
|
||||
#include <xen/byteorder.h>
|
||||
#include <xen/console.h>
|
||||
#include <xen/delay.h>
|
||||
#include <xen/errno.h>
|
||||
#include <xen/param.h>
|
||||
#include <xen/pci.h>
|
||||
#include <xen/serial.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/fixmap.h>
|
||||
|
||||
#include <public/physdev.h>
|
||||
|
||||
/* #define DBGP_DEBUG */
|
||||
|
||||
@@ -230,7 +230,7 @@ static inline unsigned int bitmap_weight(const unsigned long *src,
|
||||
return __bitmap_weight(src, nbits);
|
||||
}
|
||||
|
||||
#include <asm/byteorder.h>
|
||||
#include <xen/byteorder.h>
|
||||
|
||||
#ifdef __LITTLE_ENDIAN
|
||||
#define BITMAP_MEM_ALIGNMENT 8
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
#ifndef __XEN_DEVICE_TREE_H__
|
||||
#define __XEN_DEVICE_TREE_H__
|
||||
|
||||
#include <asm/byteorder.h>
|
||||
#include <xen/byteorder.h>
|
||||
|
||||
#include <asm/device.h>
|
||||
#include <public/xen.h>
|
||||
#include <public/device_tree_defs.h>
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
* Copyright 2012 Kim Phillips, Freescale Semiconductor.
|
||||
*/
|
||||
|
||||
#include <xen/types.h>
|
||||
#include <xen/byteorder.h>
|
||||
#include <xen/string.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#ifdef __CHECKER__
|
||||
#define FDT_FORCE __attribute__((force))
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
#define __XEN_UNALIGNED_H__
|
||||
|
||||
#ifdef __XEN__
|
||||
#include <xen/types.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <xen/byteorder.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||