about summary refs log tree commit diff
path: root/arch/mips/syscall_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/syscall_arch.h')
-rw-r--r--arch/mips/syscall_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/syscall_arch.h b/arch/mips/syscall_arch.h
index 69b8154f..1b1179c4 100644
--- a/arch/mips/syscall_arch.h
+++ b/arch/mips/syscall_arch.h
@@ -3,6 +3,9 @@
 ((union { long long ll; long l[2]; }){ .ll = x }).l[1]
 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
 
+#ifdef SHARED
+__attribute__((visibility("hidden")))
+#endif
 long (__syscall)(long, ...);
 
 #define SYSCALL_RLIM_INFINITY (-1UL/2)