All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll
@ 2011-05-06 19:08 Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2011-05-06 19:08 UTC (permalink / raw)
  To: Linux/m68k, uClinux list; +Cc: Greg Ungerer, Linux Kernel Development

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 <geert@linux-m68k.org>
---
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 -- geert@linux-m68k.org

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

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

* Re: [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll
  2011-05-06 19:08 Geert Uytterhoeven
@ 2011-05-08 22:45   ` Greg Ungerer
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Ungerer @ 2011-05-08 22:45 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux/m68k, uClinux list, Greg Ungerer, Linux Kernel Development

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<geert@linux-m68k.org>

Acked-by: Greg Ungerer <gerg@uclinux.org>


> ---
> 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:     gerg@snapgear.com
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

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

* Re: [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll
@ 2011-05-08 22:45   ` Greg Ungerer
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Ungerer @ 2011-05-08 22:45 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux/m68k, uClinux list, Greg Ungerer, Linux Kernel Development

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<geert@linux-m68k.org>

Acked-by: Greg Ungerer <gerg@uclinux.org>


> ---
> 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:     gerg@snapgear.com
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

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

* [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll
@ 2011-05-06 19:08 Geert Uytterhoeven
  2011-05-08 22:45   ` Greg Ungerer
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2011-05-06 19:08 UTC (permalink / raw)
  To: Linux/m68k, uClinux list; +Cc: Greg Ungerer, Linux Kernel Development

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 <geert@linux-m68k.org>
---
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 -- geert@linux-m68k.org

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

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

end of thread, other threads:[~2011-05-08 22:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 19:08 [PATCH] m68k: Really wire up sys_pselect6 and sys_ppoll Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
2011-05-06 19:08 Geert Uytterhoeven
2011-05-08 22:45 ` Greg Ungerer
2011-05-08 22:45   ` Greg Ungerer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.