diff -r 4721c1690d24 arch/i386/kernel/head.S --- a/arch/i386/kernel/head.S Wed Feb 14 03:16:30 2007 -0800 +++ b/arch/i386/kernel/head.S Wed Feb 14 04:01:58 2007 -0800 @@ -504,7 +504,7 @@ ignore_int: .section .text #ifdef CONFIG_PARAVIRT -startup_paravirt: +ENTRY(startup_paravirt) cld movl $(init_thread_union+THREAD_SIZE),%esp @@ -535,10 +535,6 @@ unhandled_paravirt: ud2 #endif -#ifdef CONFIG_XEN -#include "../xen/xen-head.S" -#endif - /* * Real beginning of normal "text" segment */ diff -r 4721c1690d24 arch/i386/xen/Makefile --- a/arch/i386/xen/Makefile Wed Feb 14 03:16:30 2007 -0800 +++ b/arch/i386/xen/Makefile Wed Feb 14 04:01:58 2007 -0800 @@ -1,2 +1,2 @@ obj-y := enlighten.o setup.o events.o t -obj-y := enlighten.o setup.o events.o time.o \ +obj-y := xen-head.o enlighten.o setup.o events.o time.o \ features.o mmu.o multicalls.o diff -r 4721c1690d24 arch/i386/xen/xen-head.S --- a/arch/i386/xen/xen-head.S Wed Feb 14 03:16:30 2007 -0800 +++ b/arch/i386/xen/xen-head.S Wed Feb 14 04:01:58 2007 -0800 @@ -1,8 +1,11 @@ /* Xen-specific pieces of head.S, intended to be included in the right place in head.S */ +.text #include +#include #include +#include #include ENTRY(startup_xen)