From: Jeremy Fitzhardinge Date: Thu, 29 Nov 2007 00:21:20 +0000 (-0800) Subject: xen: mask _PAGE_PCD from ptes X-Git-Tag: v2.6.24-rc4~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c80b01beae3db9f99a161ec216405dd694bc4c2;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed