[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxc: drop double un?lock_pages definition to fix static linking
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1211465389 -3600 # Node ID 7325ea8445cba1f9e8cd5641538d4e633a5e9459 # Parent e7eb66a4c5f7ff55cf7f9a8122a9a22e9e044aac libxc: drop double un?lock_pages definition to fix static linking Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> --- tools/libxc/xg_private.c | 16 ---------------- 1 files changed, 16 deletions(-) diff -r e7eb66a4c5f7 -r 7325ea8445cb tools/libxc/xg_private.c --- a/tools/libxc/xg_private.c Thu May 22 15:09:08 2008 +0100 +++ b/tools/libxc/xg_private.c Thu May 22 15:09:49 2008 +0100 @@ -11,22 +11,6 @@ #include <malloc.h> #include "xg_private.h" - -int lock_pages(void *addr, size_t len) -{ - int e = 0; -#ifndef __sun__ - e = mlock(addr, len); -#endif - return (e); -} - -void unlock_pages(void *addr, size_t len) -{ -#ifndef __sun__ - safe_munlock(addr, len); -#endif -} char *xc_read_image(const char *filename, unsigned long *size) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |