diff options
author | Jason Baron <jbaron@redhat.com> | 2008-02-28 11:33:03 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-28 12:16:28 +1000 |
commit | 5c2aed622571ac7c3c6ec182d6d3c318e4b45c8b (patch) | |
tree | 0a3b422b16cd0725eebbe5047fd5482583279d8a /kernel/cpu.c | |
parent | 15bba37d62351749c3915add81f673b256952ee1 (diff) | |
download | linux-5c2aed622571ac7c3c6ec182d6d3c318e4b45c8b.tar.gz linux-5c2aed622571ac7c3c6ec182d6d3c318e4b45c8b.tar.bz2 linux-5c2aed622571ac7c3c6ec182d6d3c318e4b45c8b.zip |
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 <jbaron@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CC: Adrian Bunk <bunk@stusta.de>
CC: Andi Kleen <andi@firstfloor.org>
CC: Alexey Dobriyan <adobriyan@gmail.com>
CC: Christoph Hellwig <hch@infradead.org>
CC: mingo@elte.hu
CC: akpm@osdl.org
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions