diff options
| author | Ruben Wauters <rubenru09@aol.com> | 2025-07-19 23:43:10 +0100 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-09-01 13:40:46 +0530 |
| commit | 3d9c9e1da9886d91c24d97ca20c854c29212b736 (patch) | |
| tree | 2c807949ad06633d66e42b700aae15069fded80d /scripts/gdb/linux/config.py | |
| parent | a39087905af9ffecaa237a918a2c03a04e479934 (diff) | |
powerpc/xmon: replace sizeof calculations with ARRAY_SIZE macro
The calculations for operand/opcode/macro numbers are done in an
identical manner to the already existing ARRAY_SIZE macro in
linux/array_size.h
This patch replaces the sizeof calculations with the macro to make the
code cleaner and more immediately obvious what it is doing.
Signed-off-by: Ruben Wauters <rubenru09@aol.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250719225225.2132-2-rubenru09@aol.com
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions
