Skip to contentSkip to conversation

checksyscalls.sh: ignore restart_syscall

PATCH In review Geert Uytterhoeven 2 participants 3 messages Sep 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 checksyscalls.sh: ignore restart_syscall

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

---
 scripts/checksyscalls.sh |    1 +
 1 file changed, 1 insertion(+)
scripts/checksyscalls.sh +1 -0
@@ -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 -- [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

#1 lore raw
Quoted 2 lines · Geert Uytterhoeven

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

#2 lore raw
Quoted 11 lines · Sam Ravnborg
Quoted 2 lines · Geert Uytterhoeven

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 -- [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