]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kernel/sysfs: Cleanup set up macros for PMC/non-PMC SPRs
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Thu, 3 Oct 2013 09:27:35 +0000 (14:57 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Dec 2013 03:16:04 +0000 (14:16 +1100)
commit1147669803750fb4e0492607b9036ad6ffb0387f
tree35f10c42d4cd5ba41dd5df6577d5ef8e1980136e
parent3a84f6d50faa4ab94a7ae3c5ee101e0a7e2bbf01
powerpc/kernel/sysfs: Cleanup set up macros for PMC/non-PMC SPRs

Currently PMC (Performance Monitor Counter) setup macros are used
for other SPRs. Since not all SPRs are PMC related, this patch
modifies the exisiting macro and uses it to setup both PMC and
non PMC SPRs accordingly.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c