powerpc: Make sysfs code use smp_call_function_single
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Mar 2009 12:20:05 +0000 (12:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2009 02:47:27 +0000 (13:47 +1100)
commit9a3719341a9b5d2f5a2e590497346b61cf3462a5
treef9e34b1ab0afea5c867a829cfeb7e6291a4ffc64
parentc5785f9e1c1c07c791fdc471f5c7fda4a5855b0c
powerpc: Make sysfs code use smp_call_function_single

Impact: performance improvement

This fixes 'powerpc: avoid cpumask games in arch/powerpc/kernel/sysfs.c'
which talked about using smp_call_function_single, but actually used
work_on_cpu (an older version of the patch).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c