]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/checksyscalls.sh
hwmon: (abituguru3) enable DMI probing feature on AW9D-MAX
[linux-2.6-omap-h63xx.git] / scripts / checksyscalls.sh
index f98171f5a3dfe8f97dbcb397bda70e96443767d8..41564b142c0451f8512905ee5534bec1910544b3 100755 (executable)
@@ -99,6 +99,11 @@ cat << EOF
 #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
@@ -114,5 +119,5 @@ sed -n -e '/^\#define/ { s/[^_]*__NR_\([^[:space:]]*\).*/\
 \#endif/p }' $1
 }
 
-(ignore_list && syscall_list ${srctree}/include/asm-i386/unistd.h) | \
+(ignore_list && syscall_list ${srctree}/arch/x86/include/asm/unistd_32.h) | \
 $* -E -x c - > /dev/null