public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Xen: Use native_pte_flags instead of native_pte_val for .pte_flags
@ 2008-07-24 15:15 Eduardo Habkost
  2008-07-24 15:15 ` [PATCH 2/2] xen-netfront: call netif_start_queue() on xennet_open() Eduardo Habkost
  2008-07-24 15:44 ` [PATCH 1/2] Xen: Use native_pte_flags instead of native_pte_val for .pte_flags Jeremy Fitzhardinge
  0 siblings, 2 replies; 9+ messages in thread
From: Eduardo Habkost @ 2008-07-24 15:15 UTC (permalink / raw)
  To: Ingo Molnar, linux-kernel, Jeremy Fitzhardinge; +Cc: Eduardo Habkost

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

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 arch/x86/xen/enlighten.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 3fc0c15..6b169b7 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1378,7 +1378,7 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = {
 	.ptep_modify_prot_commit = __ptep_modify_prot_commit,
 
 	.pte_val = xen_pte_val,
-	.pte_flags = native_pte_val,
+	.pte_flags = native_pte_flags,
 	.pgd_val = xen_pgd_val,
 
 	.make_pte = xen_make_pte,
-- 
1.5.5.GIT


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-31 20:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24 15:15 [PATCH 1/2] Xen: Use native_pte_flags instead of native_pte_val for .pte_flags Eduardo Habkost
2008-07-24 15:15 ` [PATCH 2/2] xen-netfront: call netif_start_queue() on xennet_open() Eduardo Habkost
2008-07-24 15:45   ` Jeremy Fitzhardinge
2008-07-24 18:30     ` Jeff Garzik
2008-07-24 18:39       ` Jeremy Fitzhardinge
2008-07-31 20:03         ` Eduardo Habkost
2008-07-31 20:09           ` Jeremy Fitzhardinge
2008-07-24 15:44 ` [PATCH 1/2] Xen: Use native_pte_flags instead of native_pte_val for .pte_flags Jeremy Fitzhardinge
2008-07-26 15:49   ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox