lkml.org 
[lkml]   [2008]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] ia64: Call migration code on correctable errors v5
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.



\
 
 \ /
  Last update: 2008-05-17 01:19    [W:0.487 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site