checksyscalls.sh: ignore restart_syscall
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
Quoted 2 lines · Geert Uytterhoeven
checksyscalls.sh: ignorerestart_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
Quoted 11 lines · Sam Ravnborg
Quoted 2 lines · Geert Uytterhoeven
checksyscalls.sh: ignorerestart_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 specifcunistd.hfiles.x86_64and other do this already.Try:
lsinclude/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