Re: [PATCH] perf/benchmark: Fix ifdef in header file uapi/asm/unistd_32.h

From: Andrei Vagin
Date: Fri Sep 08 2023 - 13:38:50 EST


On Fri, Sep 8, 2023 at 10:36 AM Vijayendra Suman
<vijayendra.suman@xxxxxxxxxx> wrote:
>
> Typo error for __NR_seccomp
>
> ifdef -> ifndef
>

Acked-by: Andrei Vagin <avagin@xxxxxxxxx>

> Signed-off-by: Vijayendra Suman <vijayendra.suman@xxxxxxxxxx>
> ---
> tools/arch/x86/include/uapi/asm/unistd_32.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/arch/x86/include/uapi/asm/unistd_32.h b/tools/arch/x86/include/uapi/asm/unistd_32.h
> index 4798f9d18fe8..9de35df1afc3 100644
> --- a/tools/arch/x86/include/uapi/asm/unistd_32.h
> +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h
> @@ -26,6 +26,6 @@
> #ifndef __NR_setns
> #define __NR_setns 346
> #endif
> -#ifdef __NR_seccomp
> +#ifndef __NR_seccomp
> #define __NR_seccomp 354
> #endif
> --
> 2.41.0
>