diff options
| author | Madhavan Srinivasan <[email protected]> | 2020-02-14 13:36:05 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-03-04 22:44:28 +1100 |
| commit | fcdb524d440d6326c286006e16f252b40ba4fd6a (patch) | |
| tree | 2dccf50ad57391cb23c8a6c8a7740911cf780766 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 672e480aa21023fc8e4b6ab8635d8898822b97e7 (diff) | |
powerpc/kernel/sysfs: Refactor current sysfs.c
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions