lkml.org 
[lkml]   [2005]   [Dec]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
Date8 Dec 2005 09:37:09 +0100
DateThu, 8 Dec 2005 09:37:09 +0100
FromAndi Kleen <>
SubjectRe: [PATCH] x86_64: acpi map table fix
On Thu, Dec 08, 2005 at 09:45:09AM +0530, Vivek Goyal wrote:
> > > o Memory till end_pfn_map has been directly mapped. So all the memory
>   references to the last page (represented by end_pfn_map) should be
>   valid.
> 
I think the correct test is

    if (phys_addr+size <= (end_pfn_map << PAGE_SHIFT) + PAGE_SIZE)
                return __va(phys_addr);

I changed it to that. Thanks.

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

\
 
 \ /
  Last update: 2005-12-08 09:40    [from the cache]
©2003-2008