powerpc/perf: Revert to original NO_SIPR logic
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 15 May 2013 20:19:30 +0000 (20:19 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 31 May 2013 22:29:29 +0000 (08:29 +1000)
commitcbda6aa10bd2d97e38f4d26a03a0b2183ad580ba
tree17a5e32e8e24b61f4314ea19d39ae93440727754
parent858957ab1e3a7ee29ed40309bdf0f1b7bcf5bf30
powerpc/perf: Revert to original NO_SIPR logic

This is a revert and then some of commit 860aad7 "Add regs_no_sipr()".
This workaround was only needed on early chip versions.

As before NO_SIPR becomes a static flag of the PMU struct.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/core-book3s.c