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

Christoph Lameter
2008-05-16T23:15:52Z

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.