powerpc/pseries: Split processor entitlement retrieval and gathering to helper routines
authorNathan Fotenot <nfont@austin.ibm.com>
Wed, 23 Jul 2008 18:25:16 +0000 (04:25 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 05:44:41 +0000 (15:44 +1000)
commit11529396ea3190113173f7a15e59a58dbcaa36c8
tree0eba806ddce32076b0ec2ff13bec4f07bc99585e
parent545500b307658ad5783e0f3a52a32b97b2dfaed2
powerpc/pseries: Split processor entitlement retrieval and gathering to helper routines

Split the retrieval and setting of processor entitlement and weight into
helper routines.  This also removes the printing of the raw values
returned from h_get_ppp, the values are already parsed and printed.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/lparcfg.c