[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Remove unused #defines.
# HG changeset patch # User Steven Hand <steven@xxxxxxxxxxxxx> # Date 1167397339 0 # Node ID 98271ea55d94cc9eebadafdac435794582b642df # Parent 62ef527eb19f621ab93a91fb89dbd848abc257c3 Remove unused #defines. Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx> --- tools/libxc/xg_save_restore.h | 6 ------ 1 files changed, 6 deletions(-) diff -r 62ef527eb19f -r 98271ea55d94 tools/libxc/xg_save_restore.h --- a/tools/libxc/xg_save_restore.h Fri Dec 29 13:00:08 2006 +0000 +++ b/tools/libxc/xg_save_restore.h Fri Dec 29 13:02:19 2006 +0000 @@ -101,12 +101,6 @@ static int get_platform_info(int xc_hand /* Number of entries in the pfn_to_mfn_frame_list_list */ #define P2M_FLL_ENTRIES (((max_pfn)+(fpp*fpp)-1)/(fpp*fpp)) -/* Current guests allow 8MB 'slack' in their P2M */ -#define NR_SLACK_ENTRIES ((8 * 1024 * 1024) / PAGE_SIZE) - -/* Is the given PFN within the 'slack' region at the top of the P2M? */ -#define IS_REAL_PFN(_pfn) ((max_pfn - (_pfn)) > NR_SLACK_ENTRIES) - /* Returns TRUE if the PFN is currently mapped */ #define is_mapped(pfn_type) (!((pfn_type) & 0x80000000UL)) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |