summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ldt.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-01 16:46:36 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-08 13:16:29 +0200
commitef5e94af16c0c82452e1ea5d387e1203dd2198d6 (patch)
tree7d80d1bba8a0c58e91995ead6f8b2cd6eddd314e /include/asm-x86/ldt.h
parent8490638cf0fb3975f7636c5268f27d5daf4eaaa5 (diff)
downloadtalos-op-linux-ef5e94af16c0c82452e1ea5d387e1203dd2198d6.tar.gz
talos-op-linux-ef5e94af16c0c82452e1ea5d387e1203dd2198d6.zip
x86_32: remove __PAGE_KERNEL(_EXEC)
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Older x86-32 processors do not support global mappings (PGD), so must only use it if the processor supports it. The _PAGE_KERNEL* flags always have _PAGE_KERNEL set, since logically we always want it set. This is OK even on processors which do not support PGD, since all _PAGE flags are masked with __supported_pte_mask before being turned into a real in-pagetable pte. On 32-bit systems, __supported_pte_mask is initialized to not contain _PAGE_GLOBAL, and it is then added if the CPU is found to support it. The x86-32 code used to use __PAGE_KERNEL/__PAGE_KERNEL_EXEC for this purpose, but they're now redundant and can be removed. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/ldt.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud