public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] cris: Fix system call references for cris v10
@ 2015-06-05 14:10 Guenter Roeck
  2015-06-08  7:17 ` Jesper Nilsson
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2015-06-05 14:10 UTC (permalink / raw)
  To: Mikael Starvik
  Cc: Jesper Nilsson, linux-cris-kernel, linux-kernel, Guenter Roeck,
	Chen Gang

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] cris: Fix system call references for cris v10
  2015-06-05 14:10 [PATCH -next] cris: Fix system call references for cris v10 Guenter Roeck
@ 2015-06-08  7:17 ` Jesper Nilsson
  2015-06-08 14:49   ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Nilsson @ 2015-06-08  7:17 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Mikael Starvik, Jesper Nilsson, linux-cris-kernel,
	linux-kernel@vger.kernel.org, Chen Gang

On Fri, Jun 05, 2015 at 04:10:19PM +0200, Guenter Roeck wrote:
> 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>

Hi Guenter!

Thanks, a similar patch should already be folded into the
original tree, could you verify with the latest for-next/linux-next?

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] cris: Fix system call references for cris v10
  2015-06-08  7:17 ` Jesper Nilsson
@ 2015-06-08 14:49   ` Guenter Roeck
  0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2015-06-08 14:49 UTC (permalink / raw)
  To: Jesper Nilsson
  Cc: Mikael Starvik, Jesper Nilsson, linux-cris-kernel,
	linux-kernel@vger.kernel.org, Chen Gang

On 06/08/2015 12:17 AM, Jesper Nilsson wrote:
> On Fri, Jun 05, 2015 at 04:10:19PM +0200, Guenter Roeck wrote:
>> 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>
>
> Hi Guenter!
>
> Thanks, a similar patch should already be folded into the
> original tree, could you verify with the latest for-next/linux-next?
>

Yes, the cris/crisv32 images build fine in the latest -next.

Guenter



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-08 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 14:10 [PATCH -next] cris: Fix system call references for cris v10 Guenter Roeck
2015-06-08  7:17 ` Jesper Nilsson
2015-06-08 14:49   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox