]> granicus.if.org Git - strace/commit
Create generic 64-bit syscallent.h
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 10 Jan 2015 17:51:37 +0000 (20:51 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 12 Jan 2015 17:32:16 +0000 (17:32 +0000)
commit200c02c1a7f20e08a19f5caa85740bce234991d2
tree2dfef937ba965614a16b35cb49b3b8c186898d88
parentd89890e0749ddefd38fea317fdf8d02ab762cf43
Create generic 64-bit syscallent.h

Since aarch64/syscallent1.h and tile/syscallent.h share a lot of
identical syscall entries described in <asm-generic/unistd.h>, move
these entries to a new file 64/syscallent.h using the following
automated conversion with subsequent correction of whitespace
indentation:

sed -e 's|^[[:space:]]*\({[^}]\+},\)[[:space:]]*/\*[[:space:]]\([[:space:]]*[0-9]\+\)[[:space:]]*\*/|[\2] = \1|' -e '/^\[[[:space:]]*2\(4[4-9]\|5[0-9]\)\]/d' linux/tile/syscallent.h

* linux/64/syscallent.h: New file.
* Makefile.am (EXTRA_DIST): Add it.
* linux/aarch64/syscallent1.h: Include "64/syscallent.h",
remove generic 64-bit syscall entries, use designated initializers.
* linux/tile/syscallent.h: Likewise.
Makefile.am
linux/64/syscallent.h [new file with mode: 0644]
linux/aarch64/syscallent1.h
linux/tile/syscallent.h