powerpc/perf: Create mmcra_sihv/mmcra_sipv helpers
authorAnton Blanchard <anton@samba.org>
Tue, 26 Jun 2012 01:00:13 +0000 (01:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:38 +0000 (19:18 +1000)
commit68b30bb9f0fed8281fe8a1ac818d6d07c803fa7b
tree5fb705625ea7fe10eb642e773cf2e0ecf2ab27e3
parent962cffbd8a21ad380ec71a6f5ea55a8e08f32dd1
powerpc/perf: Create mmcra_sihv/mmcra_sipv helpers

We want to access the MMCRA_SIHV and MMCRA_SIPR bits elsewhere so
create mmcra_sihv and mmcra_sipr which hide the differences between
the old and new layout of the bits.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/core-book3s.c