From: Ralf Baechle <ralf@linux-mips.org>
To: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@vger.kernel.org,
"open list:MIPS" <linux-mips@linux-mips.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] MIPS: set NR_syscall_tables appropriately
Date: Tue, 27 Sep 2016 14:04:42 +0200 [thread overview]
Message-ID: <20160927120442.GF12981@linux-mips.org> (raw)
In-Reply-To: <1472463007-6469-2-git-send-email-marcin.nowakowski@imgtec.com>
On Mon, Aug 29, 2016 at 11:30:07AM +0200, Marcin Nowakowski wrote:
> Depending on the kernel configuration, up to 3 syscall tables can be
> used in parallel - so set the number properly to ensure syscall tracing
> is set up properly.
>
> Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
> ---
> arch/mips/include/asm/unistd.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h
> index e558130..71162f3d 100644
> --- a/arch/mips/include/asm/unistd.h
> +++ b/arch/mips/include/asm/unistd.h
> @@ -22,6 +22,10 @@
> #define NR_syscalls (__NR_O32_Linux + __NR_O32_Linux_syscalls)
> #endif
>
> +#define NR_syscall_tables (1 + \
> + IS_ENABLED(CONFIG_MIPS32_O32) + \
> + IS_ENABLED(CONFIG_MIPS32_N32))
> +
> #ifndef __ASSEMBLY__
NR_syscall_tables is a new symbol but I don't see any users of this
symbol?
Ralf
next prev parent reply other threads:[~2016-09-27 12:04 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-29 9:30 [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Marcin Nowakowski
2016-08-29 9:30 ` [PATCH 2/2] MIPS: set NR_syscall_tables appropriately Marcin Nowakowski
2016-09-27 12:04 ` Ralf Baechle [this message]
2016-09-28 6:58 ` Marcin Nowakowski
2016-08-29 23:55 ` [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski
2016-08-30 8:14 ` Marcin Nowakowski
2016-08-30 18:52 ` Andy Lutomirski
2016-08-30 19:29 ` Steven Rostedt
2016-08-30 19:53 ` Andy Lutomirski
2016-08-30 20:58 ` Steven Rostedt
2016-08-30 21:45 ` Andy Lutomirski
2016-08-30 22:03 ` Steven Rostedt
2016-08-30 22:08 ` Andy Lutomirski
2016-08-30 22:30 ` Steven Rostedt
2016-08-30 23:09 ` Andy Lutomirski
2016-08-30 23:28 ` Steven Rostedt
2016-08-31 0:01 ` Andy Lutomirski
2016-08-31 14:08 ` Marcin Nowakowski
2016-08-31 7:00 ` Marcin Nowakowski
2016-08-31 8:24 ` Arnd Bergmann
2016-09-01 15:24 ` Steven Rostedt
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=20160927120442.GF12981@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-mips@vger.kernel.org \
--cc=marcin.nowakowski@imgtec.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).