diff options
author | Sonny Rao <sonny@burdell.org> | 2006-08-02 00:20:09 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-08 15:55:12 +1000 |
commit | dcc42f483d6808ba4d04af9da35e7e47b711f6c2 (patch) | |
tree | 22db9fe48c6d35bb46cec23225eacc6bbf9aa4ac | |
parent | 9f737633e6ee54fc174282d49b2559bd2208391d (diff) | |
download | op-kernel-dev-dcc42f483d6808ba4d04af9da35e7e47b711f6c2.zip op-kernel-dev-dcc42f483d6808ba4d04af9da35e7e47b711f6c2.tar.gz |
[POWERPC] fix PMU initialization on pseries lpar
We should not be calling power4_enable_pmcs() in
pseries_lpar_enable_pmcs(); just doing the hypercall is sufficient.
Prior to 2.6.15 we did not call power4_enable_pmcs() for an lpar.
power4_enable_pmcs() tries to read the hid0 register which is no
longer legal for an lpar in newer Power processors.
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 71c634e..31867a7 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c @@ -213,8 +213,6 @@ static void pseries_lpar_enable_pmcs(void) { unsigned long set, reset; - power4_enable_pmcs(); - set = 1UL << 63; reset = 0; plpar_hcall_norets(H_PERFMON, set, reset); |