From: "tip-bot2 for Benjamin Thiel" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Benjamin Thiel <b.thiel@posteo.de>, Borislav Petkov <bp@suse.de>,
x86 <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [tip: x86/cleanups] x86/syscalls: Add prototypes for C syscall callbacks
Date: Mon, 17 Feb 2020 17:52:41 -0000 [thread overview]
Message-ID: <158196196194.13786.17938311473984803785.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20200123152754.20149-1-b.thiel@posteo.de>
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 99ce3255fddf08fca9249488793c9b5c909ff0ab
Gitweb: https://git.kernel.org/tip/99ce3255fddf08fca9249488793c9b5c909ff0ab
Author: Benjamin Thiel <b.thiel@posteo.de>
AuthorDate: Thu, 23 Jan 2020 16:27:54 +01:00
Committer: Borislav Petkov <bp@suse.de>
CommitterDate: Mon, 17 Feb 2020 18:22:25 +01:00
x86/syscalls: Add prototypes for C syscall callbacks
.. in order to fix a couple of -Wmissing-prototypes warnings.
No functional change.
[ bp: Massage commit message and drop newlines. ]
Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200123152754.20149-1-b.thiel@posteo.de
---
arch/x86/entry/common.c | 1 +
arch/x86/include/asm/syscall.h | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 9747876..ec167d8 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -34,6 +34,7 @@
#include <asm/fpu/api.h>
#include <asm/nospec-branch.h>
#include <asm/io_bitmap.h>
+#include <asm/syscall.h>
#define CREATE_TRACE_POINTS
#include <trace/events/syscalls.h>
diff --git a/arch/x86/include/asm/syscall.h b/arch/x86/include/asm/syscall.h
index 8db3fdb..d20ffc5 100644
--- a/arch/x86/include/asm/syscall.h
+++ b/arch/x86/include/asm/syscall.h
@@ -168,6 +168,11 @@ static inline int syscall_get_arch(struct task_struct *task)
task->thread_info.status & TS_COMPAT)
? AUDIT_ARCH_I386 : AUDIT_ARCH_X86_64;
}
+
+void do_syscall_64(unsigned long nr, struct pt_regs *regs);
+void do_int80_syscall_32(struct pt_regs *regs);
+long do_fast_syscall_32(struct pt_regs *regs);
+
#endif /* CONFIG_X86_32 */
#endif /* _ASM_X86_SYSCALL_H */
parent reply other threads:[~2020-02-17 17:52 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20200123152754.20149-1-b.thiel@posteo.de>]
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=158196196194.13786.17938311473984803785.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=b.thiel@posteo.de \
--cc=bp@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=x86@kernel.org \
/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).