diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-20 11:07:13 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-01-20 12:32:34 (GMT) |
commit | bd924e8cbd4b73ffb7d707a774c04f7e2cae88ed (patch) | |
tree | 338d08c708b195acb9c8d6e0bab2e6ea720051a3 /fs | |
parent | 2ce802f62ba32a7d95748ac92bf351f76affb6ff (diff) | |
download | linux-fsl-qoriq-bd924e8cbd4b73ffb7d707a774c04f7e2cae88ed.tar.xz |
smp: Allow on_each_cpu() to be called while early_boot_irqs_disabled status to init/main.c
percpu may end up calling vfree() during early boot which in
turn may call on_each_cpu() for TLB flushes. The function of
on_each_cpu() can be done safely while IRQ is disabled during
early boot but it assumed that the function is always called
with local IRQ enabled which ended up enabling local IRQ
prematurely during boot and triggering a couple of warnings.
This patch updates on_each_cpu() and smp_call_function_many()
such on_each_cpu() can be used safely while
early_boot_irqs_disabled is set.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <20110120110713.GC6036@htj.dyndns.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Reported-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions