aboutsummaryrefslogtreecommitdiffstats
path: root/libc/tools/gensyscalls.py
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-11-07 10:31:05 -0800
committerElliott Hughes <enh@google.com>2013-11-07 10:31:05 -0800
commited74484dcbc2e156a6e5fa861a62425b12e55128 (patch)
treed41520a7d4f893cef86ab650b23e400e30351446 /libc/tools/gensyscalls.py
parenta034e1d3e06207f079e814101bb3bce1924264e0 (diff)
downloadandroid_bionic-ed74484dcbc2e156a6e5fa861a62425b12e55128.tar.gz
android_bionic-ed74484dcbc2e156a6e5fa861a62425b12e55128.tar.bz2
android_bionic-ed74484dcbc2e156a6e5fa861a62425b12e55128.zip
Stop using the non-uapi <linux/err.h> header file.
We only need it for MAX_ERRNO, and it's time we had somewhere to put the little assembler utility macros we've been putting off writing. Change-Id: I9354d2e0dc47c689296a34b5b229fc9ba75f1a83
Diffstat (limited to 'libc/tools/gensyscalls.py')
-rwxr-xr-xlibc/tools/gensyscalls.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index bf44b7031..d0a8f273a 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -41,9 +41,7 @@ def create_file(relpath):
syscall_stub_header = "/* " + warning + " */\n" + \
"""
-#include <asm/unistd.h>
-#include <linux/err.h>
-#include <machine/asm.h>
+#include <private/bionic_asm.h>
ENTRY(%(func)s)
"""