diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-01-22 14:24:22 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-22 23:35:21 +0100 |
commit | 6522869c34664dd5f05a0a327e93915b1281c90d (patch) | |
tree | b3cacc12b649fc0b597211fab9a3355a0cce2c18 /lib/idr.c | |
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>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions