Move source tree closer to the 2.6.32.17 mainline
/arch/sparc/include/asm/io_32.h
blob:93fe21e02c86b0c7607f06c813532223220a68cf -> blob:679c7504625acc86deab57d1e1feada4ef408317
--- arch/sparc/include/asm/io_32.h
+++ arch/sparc/include/asm/io_32.h
@@ -8,7 +8,7 @@
#include <asm/page.h> /* IO address mapping routines need this */
#include <asm/system.h>
-#define page_to_phys(page) (((page) - mem_map) << PAGE_SHIFT)
+#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
static inline u32 flip_dword (u32 l)
{