]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - scripts/checksyscalls.sh
Merge branch 'slub/hotplug' into slab/urgent
[mv-sheeva.git] / scripts / checksyscalls.sh
index 6bb42e72e0e5f1fe7af925b29c17cd3f91e73556..3ab316e5231336cd528b1d591c517f42860ad721 100755 (executable)
@@ -6,7 +6,7 @@
 # and listed below so they are ignored.
 #
 # Usage:
-# syscallchk gcc gcc-options
+# checksyscalls.sh gcc gcc-options
 #
 
 ignore_list() {
@@ -204,5 +204,5 @@ sed -n -e '/^\#define/ s/[^_]*__NR_\([^[:space:]]*\).*/\
 \#endif/p' $1
 }
 
-(ignore_list && syscall_list ${srctree}/arch/x86/include/asm/unistd_32.h) | \
+(ignore_list && syscall_list $(dirname $0)/../arch/x86/include/asm/unistd_32.h) | \
 $* -E -x c - > /dev/null