Re: Linux 2.6.24-rc2 build fails: implicit declaration of function

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthias Kaehlcke <matthias.kaehlcke@...>, Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, November 7, 2007 - 11:06 am

On Wednesday 07 November 2007 10:55:55 Matthias Kaehlcke wrote:

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.24-rc2, Linus Torvalds, (Tue Nov 6, 8:26 pm)
Re: Linux 2.6.24-rc2, Jon Masters, (Fri Nov 9, 8:07 am)
2.6.24-rc2: Reported regressions from 2.6.23, Rafael J. Wysocki, (Wed Nov 7, 9:23 pm)
Re: Linux 2.6.24-rc2 build , Matthias Kaehlcke, (Wed Nov 7, 5:55 am)
Re: Linux 2.6.24-rc2 build fails: implicit declaration of fu..., Miguel , (Wed Nov 7, 11:06 am)
[BUG] Linux 2.6.24-rc2 - oom-killer gets invoked, Kamalesh Babulal, (Wed Nov 7, 3:17 am)
Re: [BUG] Linux 2.6.24-rc2 - oom-killer gets invoked, Andrew Morton, (Wed Nov 7, 2:20 pm)
Re: [BUG] Linux 2.6.24-rc2 - oom-killer gets invoked, Balbir Singh, (Wed Nov 7, 3:55 am)
Re: [BUG] Linux 2.6.24-rc2 - oom-killer gets invoked, Kamalesh Babulal, (Wed Nov 7, 8:24 am)