RE: Recent SPARSEMEM and DISCONTIG changes break some builds

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-11-01 11:46:23
>+#define pfn_to_kaddr(pfn) 	__va((pfn) << PAGE_SHIFT)
> 
> #define page_to_phys(page)	(page_to_pfn(page) << PAGE_SHIFT)
> #define virt_to_page(kaddr)	pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)

Almost identical to Bob Picco's fix.  He put exactly the same
definition for pfn_to_kaddr() three lines further down ... and
since he got there first, his patch is going in.

But thanks for confirming.

-Tony
 
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 01 11:47:02 2005

This archive was generated by hypermail 2.1.8 : 2005-11-01 11:47:09 EST