lkml.org 
[lkml]   [2007]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Linux 2.6.24-rc2 build fails: implicit declaration of function ‘smp call function mask'
Date
On Wednesday 07 November 2007 10:55:55 Matthias Kaehlcke wrote:
>
> v2.6.24-rc2 fails to build on my box with the following error:
>
> CC [M] drivers/kvm/kvm_main.o
> drivers/kvm/kvm_main.c: In function ???kvm_flush_remote_tlbs???:
> drivers/kvm/kvm_main.c:220: error: implicit declaration of function
> ???smp_call_function_mask???
> make[3]: *** [drivers/kvm/kvm_main.o] Error 1
> make[2]: *** [drivers/kvm] Error 2
> make[1]: *** [drivers] Error 2
> make[1]: Leaving directory `/data/kernel/linux-2.6.24-rc2'
> make: *** [debian/stamp-build-kernel] Error 2
>
> the .config file is attached

This patch should fix this error.

Signed-off-by: Miguel Boton <mboton@gmail.com>

Index: linux-2.6.24-rc2/drivers/kvm/kvm_main.c
===================================================================
--- linux-2.6.24-rc2.orig/drivers/kvm/kvm_main.c
+++ linux-2.6.24-rc2/drivers/kvm/kvm_main.c
@@ -217,7 +217,10 @@
if (cpu != -1 && cpu != raw_smp_processor_id())
cpu_set(cpu, cpus);
}
+
+#ifdef CONFIG_SMP
smp_call_function_mask(cpus, ack_flush, NULL, 1);
+#endif
}

int kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id)

--
Miguel Botón
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-07 16:09    [W:0.068 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site