lkml.org 
[lkml]   [2015]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] cris: Fix system call references for cris v10
Date
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


\
 
 \ /
  Last update: 2015-06-05 16:41    [W:0.041 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site