]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - scripts/checksyscalls.sh
UBUNTU: [Config] CONFIG_BLK_DEV_LOOP_MIN_COUNT=256
[mirror_ubuntu-artful-kernel.git] / scripts / checksyscalls.sh
index 116b7735ee9f7aad88b748de929be5b9b83d2859..5a387a264201f21aaebf07ee4516d53766d3155f 100755 (executable)
@@ -202,15 +202,12 @@ EOF
 }
 
 syscall_list() {
-    grep '^[0-9]' "$1" | sort -n | (
+    grep '^[0-9]' "$1" | sort -n |
        while read nr abi name entry ; do
-           cat <<EOF
-#if !defined(__NR_${name}) && !defined(__IGNORE_${name})
-#warning syscall ${name} not implemented
-#endif
-EOF
+               echo "#if !defined(__NR_${name}) && !defined(__IGNORE_${name})"
+               echo "#warning syscall ${name} not implemented"
+               echo "#endif"
        done
-    )
 }
 
 (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \