[lkml]   [2008]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 0 of 4] x86: some more patches

* Ingo Molnar <> wrote:

> -#define PAGE_MASK (~(PAGE_SIZE-1))
> +#define PAGE_MASK (_AT(phys_addr_t, ~(PAGE_SIZE-1)))

that should be:

#define PAGE_MASK (_AT(phys_addr_t, PAGE_SIZE)-1)

but still - PAGE_MASK is used in a lot of places so i'm nervous about
this change.


 \ /
  Last update: 2008-01-16 17:09    [W:0.080 / U:2.092 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site