generic-ipi: Allow cpus not yet online to call smp_call_function with irqs disabled
authorSuresh Siddha <suresh.b.siddha@intel.com>
Thu, 20 Aug 2009 01:05:35 +0000 (18:05 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 21 Aug 2009 23:25:43 +0000 (16:25 -0700)
commit269c861baa2fe7c114c3bc7831292758d29eb336
tree511c06f6d3cd652b3d20bd725130d5766dc54903
parent9f51e24ee8b5a1595b6a5ac0c2be278a16488e75
generic-ipi: Allow cpus not yet online to call smp_call_function with irqs disabled

Because of deadlock possiblities smp_call_function() is not allowed to
be called with interrupts disabled. Add an exception for the cpu not
yet online, as no one else can send smp call function interrupt to this
cpu that is not yet online and as such deadlock condition is not possible.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
kernel/smp.c