... so it builds again and also add a note to the xen elf header
that this kernel should be booted in shadow-translated mode.
Gerd
--- linux-2.6.12-xen0/arch/xen/i386/kernel/head.S.shadow 2005-07-28
11:31:37.000000000 +0200
+++ linux-2.6.12-xen0/arch/xen/i386/kernel/head.S 2005-07-28
16:37:14.000000000 +0200
@@ -10,6 +10,9 @@
#else
.ascii ",PAE=no"
#endif
+#ifdef CONFIG_XEN_SHADOW_MODE
+ .ascii ",SHADOW=translate"
+#endif
.ascii ",LOADER=generic"
.byte 0
--- linux-2.6.12-xen0/include/asm-xen/hypervisor.h.shadow 2005-07-28
11:31:37.000000000 +0200
+++ linux-2.6.12-xen0/include/asm-xen/hypervisor.h 2005-07-28
16:30:52.000000000 +0200
@@ -97,8 +97,8 @@
void xen_pte_pin(unsigned long ptr);
void xen_pte_unpin(unsigned long ptr);
#else
-#define xen_l1_entry_update(_p, _v) set_pte((_p), (pte_t){(_v)})
-#define xen_l2_entry_update(_p, _v) set_pgd((_p), (pgd_t){(_v)})
+#define xen_l1_entry_update(_p, _v) set_pte((_p), (_v))
+#define xen_l2_entry_update(_p, _v) set_pgd((_p), (_v))
#define xen_pgd_pin(_p) ((void)0)
#define xen_pgd_unpin(_p) ((void)0)
#define xen_pte_pin(_p) ((void)0)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|