diff -urNp --new-file linux-2.6.18-274.0.0.0.3.el5.i686/include/asm-ia64/hypervisor.h.orig linux-2.6.18-274.0.0.0.3.el5.i686/include/asm-ia64/hypervisor.h
--- linux-2.6.18-274.0.0.0.3.el5.i686/include/asm-ia64/hypervisor.h.orig	2011-09-14 14:03:14.000000000 +0800
+++ linux-2.6.18-274.0.0.0.3.el5.i686/include/asm-ia64/hypervisor.h	2011-09-14 14:03:27.000000000 +0800
@@ -62,6 +62,8 @@ extern int running_on_xen;
 extern shared_info_t *HYPERVISOR_shared_info;
 extern start_info_t *xen_start_info;
 
+#define vcpu_infop(cpu) (HYPERVISOR_shared_info->vcpu_info + (cpu))
+
 void force_evtchn_callback(void);
 
 /* Turn jiffies into Xen system time. XXX Implement me. */
