aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sem.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-01-22 14:24:22 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-22 23:35:21 +0100
commit6522869c34664dd5f05a0a327e93915b1281c90d (patch)
treeb3cacc12b649fc0b597211fab9a3355a0cce2c18 /include/linux/sem.h
parentab897d2013128f470240a541b31cf5e636984e71 (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 'include/linux/sem.h')
0 files changed, 0 insertions, 0 deletions