diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-09 16:07:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-09 16:07:33 +0000 |
commit | d82daa2728d935a7ef57405ad4aa20fbfdce29b3 (patch) | |
tree | 391e7394efac2033d0251893c1da0eb63cb69921 /toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch | |
parent | c09a8f00b0cb059faffef3b5714850d4663b275d (diff) | |
download | upstream-d82daa2728d935a7ef57405ad4aa20fbfdce29b3.tar.gz upstream-d82daa2728d935a7ef57405ad4aa20fbfdce29b3.tar.bz2 upstream-d82daa2728d935a7ef57405ad4aa20fbfdce29b3.zip |
toolchain/uClibc: use an upstream patch to fix syscall related build errors in 0.9.33
SVN-Revision: 30398
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.patch | 15 |
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 0cf3678734..0000000000 --- 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)) |