xen: condense everything onto xen_set_pte
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 1 Dec 2010 23:30:41 +0000 (15:30 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 20 May 2011 21:14:32 +0000 (14:14 -0700)
commit4a35c13cb808c63dd151bdd507b749e97231ef91
tree3e51b4c615cbc3545cdcb27234e4bcc25e642154
parenta99ac5e8619c27dbb8e7fb5a4e0ca8c8aa214909
xen: condense everything onto xen_set_pte

xen_set_pte_at and xen_clear_pte are essentially identical to
xen_set_pte, so just make them all common.

When batched set_pte and pte_clear are the same, but the unbatch operation
must be different: they need to update the two halves of the pte in
different order.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/mmu.c