commit | 6522869c34664dd5f05a0a327e93915b1281c90d | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Thu Jan 22 14:24:22 2009 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jan 22 23:35:21 2009 +0100 |
tree | b3cacc12b649fc0b597211fab9a3355a0cce2c18 | |
parent | ab897d2013128f470240a541b31cf5e636984e71 [diff] |
x86: add pte_set_flags/clear_flags for pte flag manipulation 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>