From d01b781baed3cec7a66672ad2e68a0da1bc3dcf8 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 9 Feb 2012 16:07:33 +0000 Subject: 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 --- .../161-mips-add-INLINE_SYSCALL_NOERR-macro.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch (limited to 'toolchain/uClibc/patches-0.9.33/161-mips-add-INLINE_SYSCALL_NOERR-macro.patch') 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)) -- cgit v1.2.3