diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-11-28 16:21:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-29 09:24:52 -0800 |
commit | 2c80b01beae3db9f99a161ec216405dd694bc4c2 (patch) | |
tree | aea1b56634dad1467eca5a53a81b6a08d7b619b5 /fs/proc/root.c | |
parent | c06869d660ceffec7dc0fca19ed9646ed5845c7f (diff) | |
download | linux-3.10-2c80b01beae3db9f99a161ec216405dd694bc4c2.tar.gz linux-3.10-2c80b01beae3db9f99a161ec216405dd694bc4c2.tar.bz2 linux-3.10-2c80b01beae3db9f99a161ec216405dd694bc4c2.zip |
xen: mask _PAGE_PCD from ptes
_PAGE_PCD maps a page with caching disabled, which is typically used for
mapping harware registers. Xen never allows it to be set on a mapping, and
unprivileged guests never need it since they can't see the real underlying
hardware. However, some uncached mappings are made early when probing the
(non-existent) APIC, and its OK to mask off the PCD flag in these cases.
This became necessary because Xen started checking for this bit, rather
than silently masking it off.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions