]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17f811bace58a1b8b5dc7a0fc006b4e15d1adfaa
treef9e34b1ab0afea5c867a829cfeb7e6291a4ffc64
parent13b0d41d9a6c44507fa39ec7a37b05f7dfecd64f
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