WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.1-testing] Do not include compile.h directly -- u

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] Do not include compile.h directly -- use version.h indirection functions.
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2007 11:00:22 -0700
Delivery-date: Fri, 19 Oct 2007 11:00:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1192093327 -3600
# Node ID 1c59c99c5773ae677bbbf30caae6ed790d2541d4
# Parent  c28a2e489db8214d96a2ea8645b8a4dfd39a75f4
Do not include compile.h directly -- use version.h indirection functions.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
xen-unstable changeset:   16089:ab5b615867ee7913ae6f0afe49f7a5e8ad20ea94
xen-unstable date:        Thu Oct 11 10:02:07 2007 +0100
---
 xen/arch/x86/hvm/save.c  |    8 +++-----
 xen/drivers/video/vesa.c |    1 -
 xen/drivers/video/vga.c  |    1 -
 3 files changed, 3 insertions(+), 7 deletions(-)

diff -r c28a2e489db8 -r 1c59c99c5773 xen/arch/x86/hvm/save.c
--- a/xen/arch/x86/hvm/save.c   Wed Oct 17 09:57:02 2007 +0100
+++ b/xen/arch/x86/hvm/save.c   Thu Oct 11 10:02:07 2007 +0100
@@ -19,16 +19,14 @@
  */
 
 #include <xen/config.h>
-#include <xen/compile.h>
 #include <xen/lib.h>
+#include <xen/version.h>
 #include <public/version.h>
 #include <xen/sched.h>
-
 #include <asm/hvm/hvm.h>
 #include <asm/hvm/support.h>
 #include <asm/hvm/domain.h>
 #include <asm/current.h>
-
 
 /* List of handlers for various HVM save and restore types */
 static struct { 
@@ -94,7 +92,7 @@ int hvm_save(struct domain *d, hvm_domai
     hdr.cpuid = eax;
 
     /* Save xen changeset */
-    c = strrchr(XEN_CHANGESET, ':');
+    c = strrchr(xen_changeset(), ':');
     if ( c )
         hdr.changeset = simple_strtoll(c, NULL, 16);
     else 
@@ -170,7 +168,7 @@ int hvm_load(struct domain *d, hvm_domai
                "does not match host (%#"PRIx32").\n", hdr.cpuid, eax);
 
 
-    c = strrchr(XEN_CHANGESET, ':');
+    c = strrchr(xen_changeset(), ':');
     if ( hdr.changeset == -1ULL )
         gdprintk(XENLOG_WARNING, 
                  "HVM restore: Xen changeset was not saved.\n");
diff -r c28a2e489db8 -r 1c59c99c5773 xen/drivers/video/vesa.c
--- a/xen/drivers/video/vesa.c  Wed Oct 17 09:57:02 2007 +0100
+++ b/xen/drivers/video/vesa.c  Thu Oct 11 10:02:07 2007 +0100
@@ -5,7 +5,6 @@
  */
 
 #include <xen/config.h>
-#include <xen/compile.h>
 #include <xen/init.h>
 #include <xen/lib.h>
 #include <xen/mm.h>
diff -r c28a2e489db8 -r 1c59c99c5773 xen/drivers/video/vga.c
--- a/xen/drivers/video/vga.c   Wed Oct 17 09:57:02 2007 +0100
+++ b/xen/drivers/video/vga.c   Thu Oct 11 10:02:07 2007 +0100
@@ -5,7 +5,6 @@
  */
 
 #include <xen/config.h>
-#include <xen/compile.h>
 #include <xen/init.h>
 #include <xen/lib.h>
 #include <xen/mm.h>

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] Do not include compile.h directly -- use version.h indirection functions., Xen patchbot-3.1-testing <=