projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[cascardo/linux.git]
/
scripts
/
checksyscalls.sh
diff --git
a/scripts/checksyscalls.sh
b/scripts/checksyscalls.sh
index
366f8c7
..
60d00d1
100755
(executable)
--- a/
scripts/checksyscalls.sh
+++ b/
scripts/checksyscalls.sh
@@
-113,11
+113,11
@@
EOF
}
syscall_list() {
}
syscall_list() {
-sed -n -e '/^\#define/
{
s/[^_]*__NR_\([^[:space:]]*\).*/\
+sed -n -e '/^\#define/ s/[^_]*__NR_\([^[:space:]]*\).*/\
\#if !defined \(__NR_\1\) \&\& !defined \(__IGNORE_\1\)\
\#warning syscall \1 not implemented\
\#if !defined \(__NR_\1\) \&\& !defined \(__IGNORE_\1\)\
\#warning syscall \1 not implemented\
-\#endif/p
}
' $1
+\#endif/p' $1
}
}
-(ignore_list && syscall_list ${srctree}/
include/asm-x86
/unistd_32.h) | \
+(ignore_list && syscall_list ${srctree}/
arch/x86/include/asm
/unistd_32.h) | \
$* -E -x c - > /dev/null
$* -E -x c - > /dev/null