summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-05-26 22:30:58 (GMT)
committerThomas Gleixner <tglx@linutronix.de>2008-05-27 08:01:20 (GMT)
commit4226ab93d8ae3fd895abe45879fe34d489a98718 (patch)
tree4922874bef40068a1ad2adff0f9f265deabed9af /arch/x86/kernel/asm-offsets.c
parente490517a039a99d692cb3a5561941b0a5f576172 (diff)
downloadlinux-fsl-qoriq-4226ab93d8ae3fd895abe45879fe34d489a98718.tar.xz
x86: use pteval_t for _PAGE_FOO
Rather than making _PAGE_* constants signed, and then relying on sign-extension to make sure that masks derived from them are wide enough, just explicitly type them pteval_t. This guarantees that they and any derived values are the right size for the current pte format. The reliance on sign extension is fragile, and invokes some very subtle corners of the C type system. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions