|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xc core structures are not Linux specific
# 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 <=
|
|
|
|
|