ia64/xen-unstable

changeset 13222:98271ea55d94

Remove unused #defines.

Signed-off-by: Steven Hand <steven@xensource.com>
author Steven Hand <steven@xensource.com>
date Fri Dec 29 13:02:19 2006 +0000 (2006-12-29)
parents 62ef527eb19f
children a8b2738a6f7f
files tools/libxc/xg_save_restore.h
line diff
     1.1 --- a/tools/libxc/xg_save_restore.h	Fri Dec 29 13:00:08 2006 +0000
     1.2 +++ b/tools/libxc/xg_save_restore.h	Fri Dec 29 13:02:19 2006 +0000
     1.3 @@ -101,12 +101,6 @@ static int get_platform_info(int xc_hand
     1.4  /* Number of entries in the pfn_to_mfn_frame_list_list */
     1.5  #define P2M_FLL_ENTRIES (((max_pfn)+(fpp*fpp)-1)/(fpp*fpp))
     1.6  
     1.7 -/* Current guests allow 8MB 'slack' in their P2M */
     1.8 -#define NR_SLACK_ENTRIES   ((8 * 1024 * 1024) / PAGE_SIZE)
     1.9 -
    1.10 -/* Is the given PFN within the 'slack' region at the top of the P2M? */
    1.11 -#define IS_REAL_PFN(_pfn)  ((max_pfn - (_pfn)) > NR_SLACK_ENTRIES)
    1.12 -
    1.13  /* Returns TRUE if the PFN is currently mapped */
    1.14  #define is_mapped(pfn_type) (!((pfn_type) & 0x80000000UL))
    1.15