From: H. Peter Anvin Date: Fri, 11 Nov 2011 23:57:53 +0000 (-0800) Subject: checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source X-Git-Tag: v3.3-rc1~36^2~12 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=29dc54c6;p=~emulex%2Finfiniband.git checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source Use the new arch/x86/syscalls/syscall_32.tbl file as source instead of arch/x86/include/asm/unistd_32.h. Cc: Michal Marek Cc: Geert Uytterhoeven Cc: Sam Ravnborg Signed-off-by: H. Peter Anvin --- diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index 3ab316e5231..d24810fc6af 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -198,11 +198,16 @@ EOF } syscall_list() { -sed -n -e '/^\#define/ s/[^_]*__NR_\([^[:space:]]*\).*/\ -\#if !defined \(__NR_\1\) \&\& !defined \(__IGNORE_\1\)\ -\#warning syscall \1 not implemented\ -\#endif/p' $1 + grep '^[0-9]' "$1" | sort -n | ( + while read nr abi name entry ; do + echo < /dev/null