about summary refs log tree commit diff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2014-02-24 22:49:42 +0100
committerRich Felker <dalias@aerifal.cx>2014-02-24 17:06:06 -0500
commitdbed392410e333fde86c14ea17a46d1ad9c760f1 (patch)
treeb49847238a3b31d6b448ea15cb72b1d96918ad58 /arch/microblaze
parent744f11897a509c54ecbac5e8e27facf3c14b2142 (diff)
downloadmusl-dbed392410e333fde86c14ea17a46d1ad9c760f1.tar.gz
musl-dbed392410e333fde86c14ea17a46d1ad9c760f1.tar.xz
musl-dbed392410e333fde86c14ea17a46d1ad9c760f1.zip
fixup general __syscall breakage introduced in x32 port
the reordering of headers caused some risc archs to not see
the __syscall declaration anymore.
this caused build errors on mips with any compiler,
and on arm and microblaze with clang.

we now declare it locally just like the powerpc port does.
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/syscall_arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/syscall_arch.h b/arch/microblaze/syscall_arch.h
index 231bed42..70217ffa 100644
--- a/arch/microblaze/syscall_arch.h
+++ b/arch/microblaze/syscall_arch.h
@@ -3,6 +3,8 @@
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
 
+long (__syscall)(long, ...);
+
 #ifndef __clang__
 
 static __inline long __syscall0(long n)