X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fsh%2Fsyscall_arch.h;h=48f61d94a2f5d34d92f52e1cfc815fc098b6b6f9;hb=65735baa75cb7176a0b3b784f46c9500c8639b36;hp=f63675a81f15667264b5f9e5988c6ef501b16ff2;hpb=10d0268ccfab9152250eeeed3952ce3fed44131a;p=musl diff --git a/arch/sh/syscall_arch.h b/arch/sh/syscall_arch.h index f63675a8..48f61d94 100644 --- a/arch/sh/syscall_arch.h +++ b/arch/sh/syscall_arch.h @@ -2,6 +2,7 @@ ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ ((union { long long ll; long l[2]; }){ .ll = x }).l[1] #define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x)) +#define __SYSCALL_LL_PRW(x) 0, __SYSCALL_LL_E((x)) /* The extra OR instructions are to work around a hardware bug: * http://documentation.renesas.com/doc/products/mpumcu/tu/tnsh7456ae.pdf @@ -85,3 +86,5 @@ static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo register long r1 __asm__("r1") = f; __asm_syscall(22, "r"(r3), "r"(r4), "r"(r5), "r"(r6), "r"(r7), "0"(r0), "r"(r1)); } + +#define SYSCALL_IPC_BROKEN_MODE