public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman•id.au>
To: "André Almeida" <andrealmeid@collabora•com>,
	linux-kernel@vger•kernel.org, arnd@arndb•de,
	geert@linux-m68k•org, monstr@monstr•eu,
	ysato@users•sourceforge.jp, dalias@libc•org, davem@davemloft•net,
	chris@zankel•net, jcmvbkbc@gmail•com,
	linux-alpha@vger•kernel.org, linux-ia64@vger•kernel.org,
	linux-m68k@lists•linux-m68k.org, linuxppc-dev@lists•ozlabs.org,
	linux-sh@vger•kernel.org, sparclinux@vger•kernel.org,
	linux-xtensa@linux-xtensa•org
Cc: akpm@linux-foundation•org, andrealmeid@collabora•com,
	bigeasy@linutronix•de, boqun.feng@gmail•com,
	linux-next@vger•kernel.org, lkft-triage@lists•linaro.org,
	longman@redhat•com, minchan@kernel•org, mingo@redhat•com,
	naresh.kamboju@linaro•org, peterz@infradead•org, rob@landley•net,
	senozhatsky@chromium•org, sfr@canb•auug.org.au,
	umgwanakikbuti@gmail•com, will@kernel•org
Subject: Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
Date: Thu, 25 Nov 2021 10:07:23 +1100	[thread overview]
Message-ID: <87lf1dp2z8.fsf@mpe.ellerman.id.au> (raw)
In-Reply-To: <20211124132112.11641-1-andrealmeid@collabora.com>

André Almeida <andrealmeid@collabora•com> writes:
> diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl
> index 7bef917cc84e..15109af9d075 100644
> --- a/arch/powerpc/kernel/syscalls/syscall.tbl
> +++ b/arch/powerpc/kernel/syscalls/syscall.tbl
> @@ -528,3 +528,4 @@
>  446	common	landlock_restrict_self		sys_landlock_restrict_self
>  # 447 reserved for memfd_secret
>  448	common	process_mrelease		sys_process_mrelease
> +449	common  futex_waitv                     sys_futex_waitv

Tested-by: Michael Ellerman <mpe@ellerman•id.au> (powerpc)

The selftest doesn't build with old headers, I needed this:

diff --git a/tools/testing/selftests/futex/include/futex2test.h b/tools/testing/selftests/futex/include/futex2test.h
index 9d305520e849..e6422321e9d0 100644
--- a/tools/testing/selftests/futex/include/futex2test.h
+++ b/tools/testing/selftests/futex/include/futex2test.h
@@ -8,6 +8,10 @@

 #define u64_to_ptr(x) ((void *)(uintptr_t)(x))

+#ifndef __NR_futex_waitv
+#define __NR_futex_waitv 449
+#endif
+
 /**
  * futex_waitv - Wait at multiple futexes, wake on any
  * @waiters:    Array of waiters


cheers

  parent reply	other threads:[~2021-11-24 23:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 11:38 spinlock.c:306:9: error: implicit declaration of function '__raw_write_lock_nested' Naresh Kamboju
2021-11-23 13:19 ` Arnd Bergmann
2021-11-23 14:48   ` Geert Uytterhoeven
2021-11-23 14:50     ` Sebastian Andrzej Siewior
2021-11-23 16:07       ` [PATCH] locking: Fixup write_lock_nested() implementation Sebastian Andrzej Siewior
2021-11-23 17:01         ` [PATCH v2] " Sebastian Andrzej Siewior
2021-11-23 22:52           ` Stephen Rothwell
2021-11-24 10:01   ` spinlock.c:306:9: error: implicit declaration of function '__raw_write_lock_nested' Rob Landley
2021-11-24 10:43     ` Arnd Bergmann
2021-11-24  7:31 ` Rob Landley
2021-11-24  7:49   ` Arnd Bergmann
2021-11-24 13:15     ` André Almeida
2021-11-24 14:21       ` Arnd Bergmann
2021-11-24 13:21     ` [PATCH 1/1] futex: Wireup futex_waitv syscall André Almeida
2021-11-24 13:49       ` Geert Uytterhoeven
2021-11-24 14:29       ` Arnd Bergmann
2021-11-24 15:56         ` André Almeida
2021-11-24 23:18         ` Thomas Gleixner
2021-11-24 17:23       ` Max Filippov
2021-11-24 23:07       ` Michael Ellerman [this message]
2021-11-24 23:38     ` spinlock.c:306:9: error: implicit declaration of function '__raw_write_lock_nested' Rob Landley
2021-11-25  7:25       ` Arnd Bergmann
2021-11-25 12:10         ` Rob Landley
2021-11-26 23:51           ` Stafford Horne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lf1dp2z8.fsf@mpe.ellerman.id.au \
    --to=mpe@ellerman$(echo .)id.au \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=andrealmeid@collabora$(echo .)com \
    --cc=arnd@arndb$(echo .)de \
    --cc=bigeasy@linutronix$(echo .)de \
    --cc=boqun.feng@gmail$(echo .)com \
    --cc=chris@zankel$(echo .)net \
    --cc=dalias@libc$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=geert@linux-m68k$(echo .)org \
    --cc=jcmvbkbc@gmail$(echo .)com \
    --cc=linux-alpha@vger$(echo .)kernel.org \
    --cc=linux-ia64@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-m68k@lists$(echo .)linux-m68k.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-sh@vger$(echo .)kernel.org \
    --cc=linux-xtensa@linux-xtensa$(echo .)org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=lkft-triage@lists$(echo .)linaro.org \
    --cc=longman@redhat$(echo .)com \
    --cc=minchan@kernel$(echo .)org \
    --cc=mingo@redhat$(echo .)com \
    --cc=monstr@monstr$(echo .)eu \
    --cc=naresh.kamboju@linaro$(echo .)org \
    --cc=peterz@infradead$(echo .)org \
    --cc=rob@landley$(echo .)net \
    --cc=senozhatsky@chromium$(echo .)org \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=sparclinux@vger$(echo .)kernel.org \
    --cc=umgwanakikbuti@gmail$(echo .)com \
    --cc=will@kernel$(echo .)org \
    --cc=ysato@users$(echo .)sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox