diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-05-26 23:30:58 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-27 10:01:20 +0200 |
commit | 4226ab93d8ae3fd895abe45879fe34d489a98718 (patch) | |
tree | 4922874bef40068a1ad2adff0f9f265deabed9af /arch/arm/mach-at91/board-eb9200.c | |
parent | e490517a039a99d692cb3a5561941b0a5f576172 (diff) |
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/arm/mach-at91/board-eb9200.c')
0 files changed, 0 insertions, 0 deletions