From: Jason Baron Date: Thu, 28 Feb 2008 16:33:03 +0000 (-0500) Subject: stop_machine: add ALL_CPUS option X-Git-Tag: v2.6.27-rc1~30^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2aed622571ac7c3c6ec182d6d3c318e4b45c8b;p=pandora-kernel.git stop_machine: add ALL_CPUS option -allow stop_mahcine_run() to call a function on all cpus. Calling stop_machine_run() with a 'ALL_CPUS' invokes this new behavior. stop_machine_run() proceeds as normal until the calling cpu has invoked 'fn'. Then, we tell all the other cpus to call 'fn'. Signed-off-by: Jason Baron Signed-off-by: Mathieu Desnoyers Signed-off-by: Rusty Russell CC: Adrian Bunk CC: Andi Kleen CC: Alexey Dobriyan CC: Christoph Hellwig CC: mingo@elte.hu CC: akpm@osdl.org --- Reading git-diff-tree failed