mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] checksyscalls.sh: ignore restart_syscall
@ 2007-09-09  9:34 Geert Uytterhoeven
  2007-09-09 10:07 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2007-09-09  9:34 UTC (permalink / raw)
  To: David Woodhouse, Sam Ravnborg; +Cc: Linux Kernel Development

checksyscalls.sh: ignore restart_syscall, which is not needed on m68k and
blackfin.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 scripts/checksyscalls.sh |    1 +
 1 file changed, 1 insertion(+)

--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -30,6 +30,7 @@ cat << EOF
 #endif
 
 /* i386-specific or historical system calls */
+#define __IGNORE_restart_syscall
 #define __IGNORE_break
 #define __IGNORE_stty
 #define __IGNORE_gtty

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	[flat|nested] 3+ messages in thread

* Re: [PATCH] checksyscalls.sh: ignore restart_syscall
  2007-09-09  9:34 [PATCH] checksyscalls.sh: ignore restart_syscall Geert Uytterhoeven
@ 2007-09-09 10:07 ` Sam Ravnborg
  2007-09-09 18:45   ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2007-09-09 10:07 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: David Woodhouse, Linux Kernel Development

On Sun, Sep 09, 2007 at 11:34:11AM +0200, Geert Uytterhoeven wrote:
> checksyscalls.sh: ignore restart_syscall, which is not needed on m68k and
> blackfin.

If only these archs does not care then just stick that
#define __IGNORE_...
in the arch specifc unistd.h files.
x86_64 and other do this already.

Try:
ls include/asm*/unistd.h | xargs grep IGNORE

	Sam

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

* Re: [PATCH] checksyscalls.sh: ignore restart_syscall
  2007-09-09 10:07 ` Sam Ravnborg
@ 2007-09-09 18:45   ` Geert Uytterhoeven
  0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2007-09-09 18:45 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: David Woodhouse, Linux Kernel Development

On Sun, 9 Sep 2007, Sam Ravnborg wrote:
> On Sun, Sep 09, 2007 at 11:34:11AM +0200, Geert Uytterhoeven wrote:
> > checksyscalls.sh: ignore restart_syscall, which is not needed on m68k and
> > blackfin.
> 
> If only these archs does not care then just stick that
> #define __IGNORE_...
> in the arch specifc unistd.h files.
> x86_64 and other do this already.
> 
> Try:
> ls include/asm*/unistd.h | xargs grep IGNORE

Ah, thanks, I didn't know this trick was being used...

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	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-09 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-09  9:34 [PATCH] checksyscalls.sh: ignore restart_syscall Geert Uytterhoeven
2007-09-09 10:07 ` Sam Ravnborg
2007-09-09 18:45   ` Geert Uytterhoeven

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