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: 34+ 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 ` Marcin Nowakowski
2016-08-29 9:30 ` [PATCH 2/2] MIPS: set NR_syscall_tables appropriately Marcin Nowakowski
2016-08-29 9:30 ` Marcin Nowakowski
2016-09-27 12:04 ` Ralf Baechle [this message]
2016-09-28 6:58 ` Marcin Nowakowski
[not found] ` <1472463007-6469-1-git-send-email-marcin.nowakowski-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2016-08-29 23:55 ` [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski
2016-08-29 23:55 ` Andy Lutomirski
[not found] ` <CALCETrW1m9ozck-ugX6AKnL7oNA8rvMTjhFGqtVSvKL9BMXMZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-30 8:14 ` Marcin Nowakowski
2016-08-30 8:14 ` Marcin Nowakowski
2016-08-30 8:14 ` Marcin Nowakowski
2016-08-30 18:52 ` Andy Lutomirski
2016-08-30 19:29 ` Steven Rostedt
[not found] ` <20160830152955.17633511-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org>
2016-08-30 19:53 ` Andy Lutomirski
2016-08-30 19:53 ` Andy Lutomirski
2016-08-30 20:58 ` Steven Rostedt
[not found] ` <20160830165830.5e494c43-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org>
2016-08-30 21:45 ` Andy Lutomirski
2016-08-30 21:45 ` Andy Lutomirski
2016-08-30 22:03 ` Steven Rostedt
[not found] ` <20160830180328.4e579db3-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org>
2016-08-30 22:08 ` Andy Lutomirski
2016-08-30 22:08 ` Andy Lutomirski
[not found] ` <CALCETrWjpcKqFHvxS35Csd3An1QNMXW8yiHChuWfuWTvVu8_ig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-30 22:30 ` Steven Rostedt
2016-08-30 22:30 ` Steven Rostedt
[not found] ` <20160830183030.3e9f67f0-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org>
2016-08-30 23:09 ` Andy Lutomirski
2016-08-30 23:09 ` Andy Lutomirski
[not found] ` <CALCETrWx+1Pdob8mU_X1hOWPWqj31ihVL3Z1R0PqjVeExZ_HAA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-30 23:28 ` Steven Rostedt
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
[not found] ` <CALCETrXA0XbYuqYzWMJA+KjFS31YL0cTVtrvCnmRY_GMK6oNpw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-31 8:24 ` Arnd Bergmann
2016-08-31 8:24 ` Arnd Bergmann
2016-09-01 15:24 ` Steven Rostedt
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.