ia64/xen-unstable

changeset 7925:64699278c175

Fix pfn_valid call (by Kevin Tian)
author djm@kirby.fc.hp.com
date Thu Dec 01 11:21:48 2005 -0600 (2005-12-01)
parents 2e74bab1981e
children 9cca37fc1057
files xen/include/asm-ia64/xenpage.h
line diff
     1.1 --- a/xen/include/asm-ia64/xenpage.h	Wed Nov 30 17:04:48 2005 -0600
     1.2 +++ b/xen/include/asm-ia64/xenpage.h	Thu Dec 01 11:21:48 2005 -0600
     1.3 @@ -8,7 +8,7 @@
     1.4  #undef pfn_valid
     1.5  #undef page_to_pfn
     1.6  #undef pfn_to_page
     1.7 -# define pfn_valid(_pfn)		((_pfn) > max_page)
     1.8 +# define pfn_valid(_pfn)	((_pfn) < max_page)
     1.9  # define page_to_pfn(_page)	((unsigned long) ((_page) - frame_table))
    1.10  # define pfn_to_page(_pfn)	(frame_table + (_pfn))
    1.11