diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-19 15:42:56 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-19 15:42:56 +0100 |
commit | 72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71 (patch) | |
tree | c77b32b8917771883e7347fccf6389be479e8e72 /tools/libxc/xg_private.h | |
parent | e3157936d4d42de828b88c4bde7d9c6f67c41fa4 (diff) | |
download | xen-72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71.tar.gz xen-72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71.tar.bz2 xen-72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71.zip |
libxc portability fixes for NetBSD.
- use MAP_ANON, that is what both (BSD-)Unix and Linux have
- change last_error handling to use pthreads
- round mlock() parameters to page alignment
- cleanup: No need to include <xen/sys/privcmd.h>
a second time in xg_private.h
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r-- | tools/libxc/xg_private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index 5de7083112..1756ab6ed8 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -15,7 +15,6 @@ #include "xenguest.h" #include "xc_private.h" -#include <xen/sys/privcmd.h> #include <xen/memory.h> #include <xen/elfnote.h> |