Messages in this thread | | | From | Andrei Vagin <> | Date | Fri, 8 Sep 2023 10:38:33 -0700 | Subject | Re: [PATCH] perf/benchmark: Fix ifdef in header file uapi/asm/unistd_32.h |
| |
On Fri, Sep 8, 2023 at 10:36 AM Vijayendra Suman <vijayendra.suman@oracle.com> wrote: > > Typo error for __NR_seccomp > > ifdef -> ifndef >
Acked-by: Andrei Vagin <avagin@gmail.com>
> Signed-off-by: Vijayendra Suman <vijayendra.suman@oracle.com> > --- > 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 >
| |