summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/usercopy_32.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-01-22 23:24:22 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-22 23:35:21 +0100
commit6522869c34664dd5f05a0a327e93915b1281c90d (patch)
treeb3cacc12b649fc0b597211fab9a3355a0cce2c18 /arch/x86/lib/usercopy_32.c
parentx86/pvops: remove pte_flags pvop (diff)
downloadlinux-6522869c34664dd5f05a0a327e93915b1281c90d.tar.xz
linux-6522869c34664dd5f05a0a327e93915b1281c90d.zip
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 'arch/x86/lib/usercopy_32.c')
0 files changed, 0 insertions, 0 deletions