diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-09-24 17:17:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-09-25 08:59:21 -0700 |
commit | 0e75898fe2499ece0ac3f1475982a828b3283b0d (patch) | |
tree | 828d3a45bb72baaa1e1478ddcb1dea761731a21d | |
parent | a140b98dcd9843f2e21091f2b64f10905150be16 (diff) | |
download | blackbird-op-linux-0e75898fe2499ece0ac3f1475982a828b3283b0d.tar.gz blackbird-op-linux-0e75898fe2499ece0ac3f1475982a828b3283b0d.zip |
checksyscalls: fix "here document" handling
"echo" doesn't read from stdin, therefore the checksyscalls script didn't
warn about not implemented system calls anymore since 29dc54c6
("checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source").
Use "cat" instead of "echo" which handles this correctly.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rwxr-xr-x | scripts/checksyscalls.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh index d24810fc6af6..fd8fa9aa7c4e 100755 --- a/scripts/checksyscalls.sh +++ b/scripts/checksyscalls.sh @@ -200,7 +200,7 @@ EOF syscall_list() { grep '^[0-9]' "$1" | sort -n | ( while read nr abi name entry ; do - echo <<EOF + cat <<EOF #if !defined(__NR_${name}) && !defined(__IGNORE_${name}) #warning syscall ${name} not implemented #endif |