diff options
| author | Link Mauve <linkmauve@linkmauve.fr> | 2026-07-30 08:50:05 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-25 10:18:09 +0530 |
| commit | a3b88f816f1b87c6dbcbb858d153adb82fec2e15 (patch) | |
| tree | 830c6c5bbb32f4f03c79b3374ed667bf158cf66c /tools/perf/scripts/python | |
| parent | 2d97c8498a9fca1a876b7a8b4fda024f8e234361 (diff) | |
powerpc/sstep: Consistently use one define to check arch bit width
Previously, both CONFIG_PPC64 and __powerpc64__ were being used to check
whether we built a 32-bit or a 64-bit kernel, sometimes in a single
function.
I went with CONFIG_PPC64 because it’s the most used in the kernel, and
the preferred way to check whether we’re building a 64-bit kernel, not
just 64-bit code, as recommended by Christophe Leroy.
Signed-off-by: Link Mauve <linkmauve@linkmauve.fr>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260730065007.964703-2-linkmauve@linkmauve.fr
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
