All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][VT] Cleanup more fixmap assumptions from gnttab code.
@ 2005-08-12 21:36 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-08-12 21:36 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

Cleanup more fixmap assumptions from gnttab code.

Missed out a hunk in the earlier patch.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>

--- a/linux-2.6-xen-sparse/arch/xen/kernel/gnttab.c	Fri Aug 12 14:20:57 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/gnttab.c	Fri Aug 12 21:19:24 2005
@@ -348,6 +348,8 @@
     for ( i = 0; i < NR_GRANT_FRAMES; i++ )
         set_fixmap(FIX_GNTTAB_END - i, frames[i] << PAGE_SHIFT);
 
+    shared = (grant_entry_t *)fix_to_virt(FIX_GNTTAB_END);
+
     return 0;
 }
 
@@ -368,7 +370,6 @@
 
     BUG_ON(gnttab_resume());
 
-    shared = (grant_entry_t *)fix_to_virt(FIX_GNTTAB_END);
 
     for ( i = 0; i < NR_GRANT_ENTRIES; i++ )
         gnttab_free_list[i] = i + 1;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-12 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12 21:36 [PATCH][VT] Cleanup more fixmap assumptions from gnttab code Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.