aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/syscalls/syscalltbl.sh
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-06-03 18:36:41 +0200
committerIngo Molnar <mingo@kernel.org>2015-06-04 07:37:37 +0200
commit1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1 (patch)
tree076d5f9dee6c5222e44b6d4f2d0c33179a6998e4 /arch/x86/syscalls/syscalltbl.sh
parentx86/asm/entry: Move arch/x86/include/asm/calling.h to arch/x86/entry/ (diff)
downloadlinux-dev-1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1.tar.xz
linux-dev-1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1.zip
x86/asm/entry: Move the arch/x86/syscalls/ definitions to arch/x86/entry/syscalls/
The build time generated syscall definitions are entry code related, move them into the arch/x86/entry/ directory. Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Brian Gerst <brgerst@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/syscalls/syscalltbl.sh')
-rw-r--r--arch/x86/syscalls/syscalltbl.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86/syscalls/syscalltbl.sh b/arch/x86/syscalls/syscalltbl.sh
deleted file mode 100644
index 0e7f8ec071e7..000000000000
--- a/arch/x86/syscalls/syscalltbl.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-in="$1"
-out="$2"
-
-grep '^[0-9]' "$in" | sort -n | (
- while read nr abi name entry compat; do
- abi=`echo "$abi" | tr '[a-z]' '[A-Z]'`
- if [ -n "$compat" ]; then
- echo "__SYSCALL_${abi}($nr, $entry, $compat)"
- elif [ -n "$entry" ]; then
- echo "__SYSCALL_${abi}($nr, $entry, $entry)"
- fi
- done
-) > "$out"