Re: [PATCH 3/3] selftest/powerpc/ptrace: Cleanup duplicate macro definitions

2024-12-16 Thread Madhavan Srinivasan
On 12/16/24 4:27 PM, Ritesh Harjani (IBM) wrote: > Madhavan Srinivasan writes: > >> Both core-pkey.c and ptrace-pkey.c tests have similar macro >> definitions, move them to "pkeys.h" and remove the macro >> definitions from the C file. >> >> Signed-off-by: Madhavan Srinivasan >> --- >> tools

Re: [PATCH 3/3] selftest/powerpc/ptrace: Cleanup duplicate macro definitions

2024-12-16 Thread IBM
Madhavan Srinivasan writes: > Both core-pkey.c and ptrace-pkey.c tests have similar macro > definitions, move them to "pkeys.h" and remove the macro > definitions from the C file. > > Signed-off-by: Madhavan Srinivasan > --- > tools/testing/selftests/powerpc/include/pkeys.h | 8 >

[PATCH 3/3] selftest/powerpc/ptrace: Cleanup duplicate macro definitions

2024-12-09 Thread Madhavan Srinivasan
Both core-pkey.c and ptrace-pkey.c tests have similar macro definitions, move them to "pkeys.h" and remove the macro definitions from the C file. Signed-off-by: Madhavan Srinivasan --- tools/testing/selftests/powerpc/include/pkeys.h | 8 tools/testing/selftests/powerpc/ptrace/core-