diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-01-22 17:24:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-22 17:35:20 -0500 |
commit | ab897d2013128f470240a541b31cf5e636984e71 (patch) | |
tree | 844ade53ec6d74f84631cac2fe8975738022929f /arch/x86/xen/enlighten.c | |
parent | f3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b (diff) |
x86/pvops: remove pte_flags pvop
pte_flags() was introduced as a new pvop in order to extract just the
flags portion of a pte, which is a potentially cheaper operation than
extracting the page number as well. It turns out this operation is
not needed, because simply using a mask to extract the flags from a
pte is sufficient for all current users.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index bea215230b20..6f1bb71aa13a 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1314,7 +1314,6 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = { | |||
1314 | .ptep_modify_prot_commit = __ptep_modify_prot_commit, | 1314 | .ptep_modify_prot_commit = __ptep_modify_prot_commit, |
1315 | 1315 | ||
1316 | .pte_val = xen_pte_val, | 1316 | .pte_val = xen_pte_val, |
1317 | .pte_flags = native_pte_flags, | ||
1318 | .pgd_val = xen_pgd_val, | 1317 | .pgd_val = xen_pgd_val, |
1319 | 1318 | ||
1320 | .make_pte = xen_make_pte, | 1319 | .make_pte = xen_make_pte, |