]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11708b1307520a8e2013679351ce0f94dc351881
tree5fb705625ea7fe10eb642e773cf2e0ecf2ab27e3
parent31951d3863eac5381972d097ff7c4a4376a5096c
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