[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711071606.41786.mboton.lkml@gmail.com>
Date: Wed, 7 Nov 2007 16:06:41 +0100
From: Miguel Botón <mboton.lkml@...il.com>
To: Matthias Kaehlcke <matthias.kaehlcke@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Linux 2.6.24-rc2 build fails: implicit declaration of function ‘smp_call_function_mask'
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@...il.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists