paravirt: add hooks for ptep_modify_prot_start/commit
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 16 Jun 2008 11:30:01 +0000 (04:30 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Jun 2008 13:16:00 +0000 (15:16 +0200)
commit08b882c627aeeeb3cfd3c4354f0d360d7949549d
treebf4a25b0bf67c8e5886425ccd9eddc436602fa21
parent1ea0704e0da65b2b46f9142ff1391163aac24060
paravirt: add hooks for ptep_modify_prot_start/commit

This patch adds paravirt-ops hooks in pv_mmu_ops for ptep_modify_prot_start and
ptep_modify_prot_commit.  This allows the hypervisor-specific backends to
implement these in some more efficient way.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/paravirt.c
arch/x86/xen/enlighten.c
include/asm-x86/paravirt.h