x86/pvops: remove pte_flags pvop
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 22 Jan 2009 22:24:16 +0000 (14:24 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 22 Jan 2009 22:35:20 +0000 (23:35 +0100)
commitab897d2013128f470240a541b31cf5e636984e71
tree844ade53ec6d74f84631cac2fe8975738022929f
parentf3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b
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>
arch/x86/include/asm/page.h
arch/x86/include/asm/paravirt.h
arch/x86/kernel/paravirt.c
arch/x86/xen/enlighten.c