Andrea Arcangeli wrote:
On Wed, Jun 18, 2008 at 11:35:58AM -0500, Charles Duffy wrote:Farkas Levente wrote:Easy enough to work around, as kallsyms_lookup_name is only used in one place:kvm-70 do not compile on centos-5 kernel-2.6.18-53.1.21.el5diff -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) && 0static inline void hrtimer_kallsyms_resolve(void) { hrtimer_init_p = (void *) kallsyms_lookup_name("hrtimer_init");Something's weird, if CONFIG_KALLSYMS isn't defined, the above code shouldn't be selected already. Perhaps I'm missing something. Farkas, can you send me /proc/config.gz by PM thanks!
do you mean /boot/config*? -- Levente "Si vis pacem para bellum!"
config-2.6.18-53.1.21.el5.bz2
Description: BZip2 compressed data
