Re: [PATCH 4 of 4] x86: mask NX from pte_pfn

Ingo Molnar
2008-01-18T14:01:42Z

* Hugh Dickins <hugh@veritas.com> wrote:

> > - return pte_val(pte) >> PAGE_SHIFT;
> > + return (pte_val(pte) >> PAGE_SHIFT) & ~_PAGE_NX;

> Shouldn't that be
>
> return (pte_val(pte) & ~_PAGE_NX) >> PAGE_SHIFT;

ouch! Sharp eyes! Fixed it.

Ingo