From: Madhavan Srinivasan Date: Thu, 3 Oct 2013 09:27:35 +0000 (+0530) Subject: powerpc/kernel/sysfs: Cleanup set up macros for PMC/non-PMC SPRs X-Git-Tag: v3.14-rc1~80^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd7e42960d7bdf825fedc665727baab4cec44164;p=pandora-kernel.git 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 Acked-by: Olof Johansson Acked-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed