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-unstable] xc core structures are not Linux specific

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xc core structures are not Linux specific.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Oct 2006 12:40:19 +0000
Delivery-date: Wed, 18 Oct 2006 05:40:38 -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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 5525b18b7224966238c0e12123d0e8458e4e74e1
# Parent  b99d11877ba194fb3336d78aff28e028a0ed9fa5
xc core structures are not Linux specific.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/libxc/xenctrl.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r b99d11877ba1 -r 5525b18b7224 tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h     Wed Oct 18 11:37:45 2006 +0100
+++ b/tools/libxc/xenctrl.h     Wed Oct 18 11:38:59 2006 +0100
@@ -104,11 +104,6 @@ int xc_find_device_number(const char *na
  * DOMAIN DEBUGGING FUNCTIONS
  */
 
-#ifdef __linux__
-
-#include <sys/ptrace.h>
-#include <thread_db.h>
-
 typedef struct xc_core_header {
     unsigned int xch_magic;
     unsigned int xch_nr_vcpus;
@@ -119,6 +114,11 @@ typedef struct xc_core_header {
 } xc_core_header_t;
 
 #define XC_CORE_MAGIC 0xF00FEBED
+
+#ifdef __linux__
+
+#include <sys/ptrace.h>
+#include <thread_db.h>
 
 void * map_domain_va_core(
     unsigned long domfd,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xc core structures are not Linux specific., Xen patchbot-unstable <=