x86: fix l1_disallow_mask() for HVM guests with pass-thru devices.

Signed-off-by: Naoki Nishiguchi <nisiguti@jp.fujitsu.com>
This commit is contained in:
Keir Fraser committed 2008-08-21 10:52:01 +01:00
1 parent a0685dba64
commit b9c620d078
1 file changed
+2 -1
+2 -1
View File
@@ -163,7 +163,8 @@ unsigned long total_pages;
#define l1_disallow_mask(d) \
((d != dom_io) && \
(rangeset_is_empty((d)->iomem_caps) && \
rangeset_is_empty((d)->arch.ioport_caps)) ? \
rangeset_is_empty((d)->arch.ioport_caps) && \
!has_arch_pdevs(d)) ? \
L1_DISALLOW_MASK : (L1_DISALLOW_MASK & ~PAGE_CACHE_ATTRS))
#ifdef CONFIG_COMPAT
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.