[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix pfn_valid call (by Kevin Tian)
# HG changeset patch # User djm@xxxxxxxxxxxxxxx # Node ID 64699278c17535f87e3a444a976f2c5a51099484 # Parent 2e74bab1981ef3514cc7475bf38dd2f5a843ed3d Fix pfn_valid call (by Kevin Tian) diff -r 2e74bab1981e -r 64699278c175 xen/include/asm-ia64/xenpage.h --- a/xen/include/asm-ia64/xenpage.h Wed Nov 30 23:04:48 2005 +++ b/xen/include/asm-ia64/xenpage.h Thu Dec 1 17:21:48 2005 @@ -8,7 +8,7 @@ #undef pfn_valid #undef page_to_pfn #undef pfn_to_page -# define pfn_valid(_pfn) ((_pfn) > max_page) +# define pfn_valid(_pfn) ((_pfn) < max_page) # define page_to_pfn(_page) ((unsigned long) ((_page) - frame_table)) # define pfn_to_page(_pfn) (frame_table + (_pfn)) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |