stop_machine() now uses hard_irq_disable
commita12bb44471b819c7f33d8a83044e7116c124e3d5
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 May 2007 05:22:47 +0000 (10 22:22 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 11 May 2007 15:29:34 +0000 (11 08:29 -0700)
treecdf3fee16c535d70659fd343d11b3578941f3596
parent2d3fbbb391e280724f7f7804ab00ff61cf1b6a4c
stop_machine() now uses hard_irq_disable

Add a call to hard_irq_disable() to stop_machine so that we make sure IRQs are
really disabled and not only lazy-disabled on archs like powerpc as some users
of stop_machine() may rely on that.

[akpm@linux-foundation.org: build fix]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/stop_machine.c