[PATCH v3] powerpc/kernel/sysfs: cleanup set up macros for PMC/non-PMC SPRs
Olof Johansson
olof at lixom.net
Fri Oct 4 14:19:13 EST 2013
On Thu, Oct 3, 2013 at 2:27 AM, Madhavan Srinivasan
<maddy at linux.vnet.ibm.com> wrote:
> 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.
>
> V3 changes:
>
> 1) No logic change, just renamed generic macro and removed #define for empty string
> 2) Changes in the comment to explain better.
>
> V2 changes:
>
> 1) Modified SYSFS_PMCSETUP to a generic macro with additional parameter
> 2) Added PMC and SPR macro to call the generic macro
> 3) Changes in the comment to explain better.
>
> Signed-off-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>
Acked-by: Olof Johansson <olof at lixom.net>
For the pa6t parts
-Olof
More information about the Linuxppc-dev
mailing list