diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-02-10 09:24:08 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-02-20 10:40:54 -0500 |
commit | 416d7214741daba3acd6d328289858390bef37bc (patch) | |
tree | 9b891f5952ecc1376cffcae1eea6522f39039bfd | |
parent | a43a5ccdfa5bd5b2f00aa9b2321df268c2e5d6e2 (diff) |
xen/setup: Remove redundant filtering of PTE masks.
commit 7347b4082e55ac4a673f06a0a0ce25c37273c9ec "xen: Allow
unprivileged Xen domains to create iomap pages" added a redundant
line in the early bootup code to filter out the PTE. That
filtering is already done a bit earlier so this extra processing
is not required.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | arch/x86/xen/enlighten.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 12eb07bfb267..7c44e1bf981e 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1204,10 +1204,6 @@ asmlinkage void __init xen_start_kernel(void) | |||
1204 | 1204 | ||
1205 | pgd = (pgd_t *)xen_start_info->pt_base; | 1205 | pgd = (pgd_t *)xen_start_info->pt_base; |
1206 | 1206 | ||
1207 | if (!xen_initial_domain()) | ||
1208 | __supported_pte_mask &= ~(_PAGE_PWT | _PAGE_PCD); | ||
1209 | |||
1210 | __supported_pte_mask |= _PAGE_IOMAP; | ||
1211 | /* Don't do the full vcpu_info placement stuff until we have a | 1207 | /* Don't do the full vcpu_info placement stuff until we have a |
1212 | possible map and a non-dummy shared_info. */ | 1208 | possible map and a non-dummy shared_info. */ |
1213 | per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0]; | 1209 | per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0]; |