WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix pfn_valid call (by Kevin Tian), Xen patchbot -unstable <=