[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] libxenguest: Remove unused static inline function is_loadable_phdr()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1251968915 -3600 # Node ID cb935f1779afac09da207326a8a3d703c2082810 # Parent 23cbeb127ff94591d58628c996329d029ee9c4a7 libxenguest: Remove unused static inline function is_loadable_phdr() Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> xen-unstable changeset: 20151:52fd5baad593 xen-unstable date: Wed Sep 02 16:15:05 2009 +0100 --- tools/libxc/xc_hvm_build.c | 6 ------ 1 files changed, 6 deletions(-) diff -r 23cbeb127ff9 -r cb935f1779af tools/libxc/xc_hvm_build.c --- a/tools/libxc/xc_hvm_build.c Thu Sep 03 10:08:00 2009 +0100 +++ b/tools/libxc/xc_hvm_build.c Thu Sep 03 10:08:35 2009 +0100 @@ -342,12 +342,6 @@ static int xc_hvm_build_internal(int xc_ return setup_guest(xc_handle, domid, memsize, target, image, image_size); } -static inline int is_loadable_phdr(Elf32_Phdr *phdr) -{ - return ((phdr->p_type == PT_LOAD) && - ((phdr->p_flags & (PF_W|PF_X)) != 0)); -} - /* xc_hvm_build: * Create a domain for a virtualized Linux, using files/filenames. */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |