x86, xen: Use native_pte_flags instead of native_pte_val for .pte_flags
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 24 Jul 2008 15:15:45 +0000 (12:15 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 6 Sep 2008 18:13:58 +0000 (20:13 +0200)
commite4a6be4d2850da032a782b5296c07dfdf583af86
treee3ac01ed2d549de85d1387b75f492269cca7ea3e
parentdd786dd12c99634055a9066f25ea957f29991c22
x86, xen: Use native_pte_flags instead of native_pte_val for .pte_flags

Using native_pte_val triggers the BUG_ON() in the paravirt_ops
version of pte_flags().

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/enlighten.c