[PATCH 1/3] selftest/powerpc/ptrace/core-pkey: Remove duplicate macros
Madhavan Srinivasan
maddy at linux.ibm.com
Mon Dec 16 23:10:38 AEDT 2024
On 12/16/24 4:17 PM, Ritesh Harjani (IBM) wrote:
> Madhavan Srinivasan <maddy at linux.ibm.com> writes:
>
>> core-pkey.c test has couple of macros defined which
>> are part of "pkeys.h" header file. Remove those
>> duplicates and include "pkeys.h"
>>
>> Signed-off-by: Madhavan Srinivasan <maddy at linux.ibm.com>
>> ---
>> .../selftests/powerpc/ptrace/core-pkey.c | 19 +------------------
>> 1 file changed, 1 insertion(+), 18 deletions(-)
>
> .../powerpc/ptrace/Makefile includes flags.mk. In
> .../powerpc/flags.mk we anyways add -I$(selfdir)/powerpc/include in
> CFLAGS - so it will pick up the header files defined in powerpc/include.
>
> It make sense to clean this up and consolidate the common header definitions
> into pkeys.h header file. The changes looks good to me. Please feel free
> to add -
>
> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list at gmail.com>
Thanks
>
> -ritesh
More information about the Linuxppc-dev
mailing list