]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix bugs introduced by sysfs changes
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Mar 2009 19:29:06 +0000 (19:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 27 Mar 2009 05:58:24 +0000 (16:58 +1100)
commitec78c8ac16e7a5f45e21838ab2f5573200bfcdd3
tree58281a386f6a3517c68765cdac49d36996b19275
parentefbda86098455da014be849713df6498cefc5a2a
powerpc: Fix bugs introduced by sysfs changes

Rusty's patch to change our sysfs access to various registers
to use smp_call_function_single() introduced a whole bunch of
warnings. This fixes them. This version also fixes an actual
bug in here where it did mtspr instead of mfspr when reading
the files

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c