summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-09 16:07:33 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-09 16:07:33 +0000
commitd01b781baed3cec7a66672ad2e68a0da1bc3dcf8 (patch)
tree3957b185b4c2cf4c3c931a8156247abb3938df51 /toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch
parenta7eb705105d8302a6a7fcd4579878c702b95ee29 (diff)
toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30398 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch b/toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch
deleted file mode 100644
index 0cf367873..000000000
--- a/toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/libc/sysdeps/linux/mips/bits/syscalls.h
-+++ b/libc/sysdeps/linux/mips/bits/syscalls.h
-@@ -29,6 +29,12 @@
- } \
- result_var; })
-
-+#define INLINE_SYSCALL_NOERR(name, nr, args...) \
-+ ({ INTERNAL_SYSCALL_DECL(err); \
-+ long result_var = INTERNAL_SYSCALL(name, err, nr, args); \
-+ if (err) do { } while (0); \
-+ result_var; })
-+
- #define INTERNAL_SYSCALL_DECL(err) long err
-
- #define INTERNAL_SYSCALL_ERROR_P(val, err) ((long) (err))