Farkas Levente wrote:
kvm-70 do not compile on centos-5 kernel-2.6.18-53.1.21.el5

Easy enough to work around, as kallsyms_lookup_name is only used in one place:

diff -ru kvm-70/kernel/external-module-compat.h kvm-70.new/kernel/external-module-compat.h --- kvm-70/kernel/external-module-compat.h 2008-06-16 13:25:16.000000000 -0500 +++ kvm-70.new/kernel/external-module-compat.h 2008-06-17 12:03:23.000000000 -0500
@@ -663,7 +663,7 @@
                              const enum hrtimer_mode mode);
 extern int (*hrtimer_cancel_p)(struct hrtimer *timer);

-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) && defined(CONFIG_KALLSYMS)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) && defined(CONFIG_KALLSYMS) && 0
 static inline void hrtimer_kallsyms_resolve(void)
 {
        hrtimer_init_p = (void *) kallsyms_lookup_name("hrtimer_init");

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to