From: Guenter Roeck <linux@roeck-us.net>
To: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>,
linux-cris-kernel@axis.com, linux-kernel@vger.kernel.org,
Guenter Roeck <linux@roeck-us.net>,
Chen Gang <gang.chen.5i5j@gmail.com>
Subject: [PATCH -next] cris: Fix system call references for cris v10
Date: Fri, 5 Jun 2015 07:10:19 -0700 [thread overview]
Message-ID: <1433513419-7020-1-git-send-email-linux@roeck-us.net> (raw)
The newly wired system calls cause compile errors when building
crisv10 images.
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x580): undefined reference to `_sys_sched_setattr'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x584): undefined reference to `_sys_sched_getattr'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x588): undefined reference to `_sys_renameat2'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x58c): undefined reference to `_sys_seccomp'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x590): undefined reference to `_sys_getrandom'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x594): undefined reference to `_sys_memfd_create'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x598): undefined reference to `_sys_bpf'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x59c): undefined reference to `_sys_execveat'
Fixes: 3e48d266639b ("CRIS: Wire up missing syscalls")
Cc: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
arch/cris/arch-v10/kernel/entry.S | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S
index d94c520dff10..b5622521dad5 100644
--- a/arch/cris/arch-v10/kernel/entry.S
+++ b/arch/cris/arch-v10/kernel/entry.S
@@ -955,14 +955,14 @@ sys_call_table:
.long sys_process_vm_writev
.long sys_kcmp /* 350 */
.long sys_finit_module
- .long _sys_sched_setattr
- .long _sys_sched_getattr
- .long _sys_renameat2
- .long _sys_seccomp /* 355 */
- .long _sys_getrandom
- .long _sys_memfd_create
- .long _sys_bpf
- .long _sys_execveat
+ .long sys_sched_setattr
+ .long sys_sched_getattr
+ .long sys_renameat2
+ .long sys_seccomp /* 355 */
+ .long sys_getrandom
+ .long sys_memfd_create
+ .long sys_bpf
+ .long sys_execveat
/*
* NOTE!! This doesn't have to be exact - we just have
--
2.1.0
next reply other threads:[~2015-06-05 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 14:10 Guenter Roeck [this message]
2015-06-08 7:17 ` Jesper Nilsson
2015-06-08 14:49 ` Guenter Roeck
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=1433513419-7020-1-git-send-email-linux@roeck-us.net \
--to=linux@roeck-us.net \
--cc=gang.chen.5i5j@gmail.com \
--cc=jesper.nilsson@axis.com \
--cc=linux-cris-kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=starvik@axis.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
Powered by JetHome