[PATCH 1/2] powerpc/kernel/sysfs: Refactor current sysfs.c

Michael Ellerman patch-notifications at ellerman.id.au
Fri Mar 6 11:27:47 AEDT 2020


On Fri, 2020-02-14 at 08:06:05 UTC, Kajol Jain wrote:
> From: Madhavan Srinivasan <maddy at linux.ibm.com>
> 
> An attempt to refactor the current sysfs.c file.
> To start with a big chuck of macro #defines and dscr
> functions are moved to start of the file. Secondly,
> HAS_ #define macros are cleanup based on CONFIG_ options
> 
> Finally new HAS_ macro added:
> 1. HAS_PPC_PA6T (for PA6T) to separate out non-PMU SPRs.
> 2. HAS_PPC_PMC56 to separate out PMC SPR's from HAS_PPC_PMC_CLASSIC
>    which come under CONFIG_PPC64.
> 
> Signed-off-by: Madhavan Srinivasan <maddy at linux.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/fcdb524d440d6326c286006e16f252b40ba4fd6a

cheers


More information about the Linuxppc-dev mailing list