Skip to contentSkip to conversation

Grant table setup needs to be overridden on unmodified domains

PATCH New Arun Sharma 1 participant 1 message Aug 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Grant table setup needs to be overridden on unmodified domains

Grant table setup needs to be overridden on unmodified domains

We can't use a fixmap on unmodified domains.

linux-2.6-xen-sparse/arch/xen/kernel/gnttab.c +2 -0
@@ -330,6 +330,7 @@
 
 #endif /* CONFIG_PROC_FS */
 
+#ifdef CONFIG_XEN
 int gnttab_resume(void)
 {
     gnttab_setup_table_t setup;
@@ -358,6 +359,7 @@
 
     return 0;
 }
+#endif
 
 static int __init gnttab_init(void)
 {