Re: [PATCH 3/3] ia64: Call migration code on correctable errors v5

From: Christoph Lameter
Date: Fri May 16 2008 - 19:16:05 EST


On Fri, 16 May 2008, Russ Anderson wrote:

> Index: linus/include/asm-ia64/page.h
> ===================================================================
> --- linus.orig/include/asm-ia64/page.h 2008-05-14 15:36:06.826294509 -0500
> +++ linus/include/asm-ia64/page.h 2008-05-15 12:59:06.022712144 -0500
> @@ -122,6 +122,7 @@ extern unsigned long max_low_pfn;
> #endif
>
> #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
> +#define phys_to_page(kaddr) (pfn_to_page(kaddr >> PAGE_SHIFT))
> #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
> #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)

There is still a whitespace inconsistency here. Sorry about the
earlier cryptic ocmment. Replacing the tab in phys_to_page
with a blank should fix things.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/