[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH XEN v6 02/32] mce-test: do not include libxenguest internal headers



As far as I can tell there is no requirement for these and it builds
fine without them.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
v6: New patch
---
 tools/tests/mce-test/tools/Makefile     | 2 --
 tools/tests/mce-test/tools/xen-mceinj.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/tools/tests/mce-test/tools/Makefile 
b/tools/tests/mce-test/tools/Makefile
index 924e4dd..0e92ac2 100644
--- a/tools/tests/mce-test/tools/Makefile
+++ b/tools/tests/mce-test/tools/Makefile
@@ -3,8 +3,6 @@ include $(XEN_ROOT)/tools/Rules.mk
 
 CFLAGS += -Werror
 CFLAGS += $(CFLAGS_libxenctrl)
-# xen-mceinj.c incorrectly use libxc internals
-CFLAGS += -I$(XEN_ROOT)/tools/libxc
 CFLAGS += $(CFLAGS_libxenguest)
 CFLAGS += $(CFLAGS_libxenstore)
 CFLAGS += $(CFLAGS_xeninclude)
diff --git a/tools/tests/mce-test/tools/xen-mceinj.c 
b/tools/tests/mce-test/tools/xen-mceinj.c
index 31cdb04..d22f0ad 100644
--- a/tools/tests/mce-test/tools/xen-mceinj.c
+++ b/tools/tests/mce-test/tools/xen-mceinj.c
@@ -31,12 +31,10 @@
 #include <stdarg.h>
 
 #include <xenctrl.h>
-#include <xg_private.h>
 #include <xenguest.h>
 #include <inttypes.h>
 #include <sys/time.h>
 #include <xen/arch-x86/xen-mca.h>
-#include <xg_save_restore.h>
 #include <xenstore.h>
 
 #define MCi_type_CTL        0x0
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.