x86: add pte_set_flags/clear_flags for pte flag manipulation
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 22 Jan 2009 22:24:22 +0000 (14:24 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 22 Jan 2009 22:35:21 +0000 (23:35 +0100)
It's not necessary to deconstruct and reconstruct a pte every time its
flags are being updated.  Introduce pte_set_flags and pte_clear_flags
to set and clear flags in a pte.  This allows the flag manipulation
code to be inlined, and avoids calls via paravirt-ops.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found