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

From: Ingo Molnar
Date: Fri Jan 18 2008 - 09:01:44 EST



* Hugh Dickins <hugh@xxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/