]> granicus.if.org Git - strace/commit
Create generic 32-bit syscallent.h
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 11 Jan 2015 01:04:54 +0000 (04:04 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 12 Jan 2015 17:32:16 +0000 (17:32 +0000)
commitdee03a3c242e2108f50bce17ef68f70f8ddc3d60
treea4cc146c3fadca32e6f7cf867880b26be77f804f
parentab4d89b3198087575beee050a34142382cc5ea74
Create generic 32-bit syscallent.h

Since arc/syscallent.h, metag/syscallent.h, or1k/syscallent.h, and
tile/syscallent1.h share a lot of identical syscall entries described in
<asm-generic/unistd.h>, move these entries to a new file 32/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:]]*\[[[:space:]]*2\(4[4-9]\|5[0-9]\)/d' linux/arc/syscallent.h

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