diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-06-03 18:36:41 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-06-04 07:37:37 +0200 |
commit | 1f57d5d85ba7f1f467173ff33f51d01a91f9aaf1 (patch) | |
tree | 076d5f9dee6c5222e44b6d4f2d0c33179a6998e4 /arch/x86/syscalls/syscallhdr.sh | |
parent | x86/asm/entry: Move arch/x86/include/asm/calling.h to arch/x86/entry/ (diff) | |
download | linux-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/syscallhdr.sh')
-rw-r--r-- | arch/x86/syscalls/syscallhdr.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/x86/syscalls/syscallhdr.sh b/arch/x86/syscalls/syscallhdr.sh deleted file mode 100644 index 31fd5f1f38f7..000000000000 --- a/arch/x86/syscalls/syscallhdr.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -in="$1" -out="$2" -my_abis=`echo "($3)" | tr ',' '|'` -prefix="$4" -offset="$5" - -fileguard=_ASM_X86_`basename "$out" | sed \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ - -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` -grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | ( - echo "#ifndef ${fileguard}" - echo "#define ${fileguard} 1" - echo "" - - while read nr abi name entry ; do - if [ -z "$offset" ]; then - echo "#define __NR_${prefix}${name} $nr" - else - echo "#define __NR_${prefix}${name} ($offset + $nr)" - fi - done - - echo "" - echo "#endif /* ${fileguard} */" -) > "$out" |