projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[CIFS] Fixed build warning in is_ip
[cascardo/linux.git]
/
scripts
/
checksyscalls.sh
diff --git
a/scripts/checksyscalls.sh
b/scripts/checksyscalls.sh
index
f98171f
..
366f8c7
100755
(executable)
--- a/
scripts/checksyscalls.sh
+++ b/
scripts/checksyscalls.sh
@@
-99,6
+99,11
@@
cat << EOF
#define __IGNORE_setfsuid32
#define __IGNORE_setfsgid32
#define __IGNORE_setfsuid32
#define __IGNORE_setfsgid32
+/* sync_file_range had a stupid ABI. Allow sync_file_range2 instead */
+#ifdef __NR_sync_file_range2
+#define __IGNORE_sync_file_range
+#endif
+
/* Unmerged syscalls for AFS, STREAMS, etc. */
#define __IGNORE_afs_syscall
#define __IGNORE_getpmsg
/* Unmerged syscalls for AFS, STREAMS, etc. */
#define __IGNORE_afs_syscall
#define __IGNORE_getpmsg
@@
-114,5
+119,5
@@
sed -n -e '/^\#define/ { s/[^_]*__NR_\([^[:space:]]*\).*/\
\#endif/p }' $1
}
\#endif/p }' $1
}
-(ignore_list && syscall_list ${srctree}/include/asm-
i386/unistd
.h) | \
+(ignore_list && syscall_list ${srctree}/include/asm-
x86/unistd_32
.h) | \
$* -E -x c - > /dev/null
$* -E -x c - > /dev/null