[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.0.4-testing] Remove unused #defines.
# HG changeset patch # User Steven Hand <steven@xxxxxxxxxxxxx> # Date 1167397339 0 # Node ID 2ec0bc1f51e01b6285b4f713bd0af5b8ef057511 # Parent 31aeb8693084af0c9019484ad7dd426b6f4cbdf1 Remove unused #defines. Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx> Based on xen-unstable changeset 13186:98271ea55d94cc9eebadafdac435794582b642df --- tools/libxc/xg_save_restore.h | 6 ------ 1 files changed, 6 deletions(-) diff -r 31aeb8693084 -r 2ec0bc1f51e0 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 |