From: Harvey Harrison Date: Wed, 30 Jan 2008 12:34:11 +0000 (+0100) Subject: x86: remove nx_enabled from fault.c X-Git-Tag: v2.6.25-rc1~1143^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b406ac61e94875723540bd56e26f634afdeef489;p=pandora-kernel.git x86: remove nx_enabled from fault.c On !PAE 32-bit, _PAGE_NX will be 0, making is_prefetch always return early. The test is sufficient on PAE as __supported_pte_mask is updated in the same places as nx_enabled in init_32.c which also takes disable_nx into account. Signed-off-by: Harvey Harrison Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed