From 18f75b80fd67fd7348fcfb807216f654597b592f Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 30 Apr 2015 18:50:04 +0100 Subject: fix __syscall declaration with wrong visibility in syscall_arch.h remove __syscall declaration where it is not needed (aarch64, arm, microblaze, or1k) and add the hidden attribute where it is (mips). --- arch/aarch64/syscall_arch.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/aarch64/syscall_arch.h') diff --git a/arch/aarch64/syscall_arch.h b/arch/aarch64/syscall_arch.h index ec7cc785..a92bff97 100644 --- a/arch/aarch64/syscall_arch.h +++ b/arch/aarch64/syscall_arch.h @@ -3,8 +3,6 @@ ((union { long long ll; long l[2]; }){ .ll = x }).l[1] #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) -long (__syscall)(long, ...); - #define __asm_syscall(...) do { \ __asm__ __volatile__ ( "svc 0" \ : "=r"(x0) : __VA_ARGS__ : "memory", "cc"); \ -- cgit v1.2.1