2011-05-06 19:08:50

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll

We reserved the numbers a long time ago, but never wired them up in the
syscall table as they need TIF_RESTORE_SIGMASK, which we only got last year
in commit cb6831d5d3099e772a510eb3e1ed0760ccffb45e ("m68k: Switch to saner
sigsuspend()")

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
I'll move this before "m68k: unistd - Comment out definitions for unimplemented
syscalls", and will update the latter.

arch/m68k/kernel/syscalltable.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
index cb3bc1b..6f7b091 100644
--- a/arch/m68k/kernel/syscalltable.S
+++ b/arch/m68k/kernel/syscalltable.S
@@ -321,8 +321,8 @@ ENTRY(sys_call_table)
.long sys_readlinkat
.long sys_fchmodat
.long sys_faccessat /* 300 */
- .long sys_ni_syscall /* Reserved for pselect6 */
- .long sys_ni_syscall /* Reserved for ppoll */
+ .long sys_pselect6
+ .long sys_ppoll
.long sys_unshare
.long sys_set_robust_list
.long sys_get_robust_list /* 305 */
--
1.7.0.4

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


2011-05-08 22:46:23

by Greg Ungerer

[permalink] [raw]
Subject: Re: [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll

On 07/05/11 05:08, Geert Uytterhoeven wrote:
> We reserved the numbers a long time ago, but never wired them up in the
> syscall table as they need TIF_RESTORE_SIGMASK, which we only got last year
> in commit cb6831d5d3099e772a510eb3e1ed0760ccffb45e ("m68k: Switch to saner
> sigsuspend()")
>
> Signed-off-by: Geert Uytterhoeven<[email protected]>

Acked-by: Greg Ungerer <[email protected]>


> ---
> I'll move this before "m68k: unistd - Comment out definitions for unimplemented
> syscalls", and will update the latter.
>
> arch/m68k/kernel/syscalltable.S | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S
> index cb3bc1b..6f7b091 100644
> --- a/arch/m68k/kernel/syscalltable.S
> +++ b/arch/m68k/kernel/syscalltable.S
> @@ -321,8 +321,8 @@ ENTRY(sys_call_table)
> .long sys_readlinkat
> .long sys_fchmodat
> .long sys_faccessat /* 300 */
> - .long sys_ni_syscall /* Reserved for pselect6 */
> - .long sys_ni_syscall /* Reserved for ppoll */
> + .long sys_pselect6
> + .long sys_ppoll
> .long sys_unshare
> .long sys_set_robust_list
> .long sys_get_robust_list /* 305 */


--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected]
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com