summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/linkage.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-07-13 01:12:03 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-09-03 12:07:39 +0200
commitb620c9720a0e18bc2067c65ad3b9020e813372eb (patch)
tree67e7afea060718326b225b6e37f2d6bc7a08ccc5 /arch/mips/include/asm/linkage.h
parentMIPS: Remove "weak" from mips_cdmm_phys_base() declaration (diff)
downloadlinux-b620c9720a0e18bc2067c65ad3b9020e813372eb.tar.xz
linux-b620c9720a0e18bc2067c65ad3b9020e813372eb.zip
MIPS: Remove "__weak" definition from arch-specific linkage.h
"__weak" is defined in include/linux/compiler-gcc.h. We shouldn't need an arch-specific definition. Remove the "__weak" definition from arch/mips/include/asm/linkage.h. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Cc: Andrew Bresticker <abrestic@chromium.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10689/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/linkage.h')
-rw-r--r--arch/mips/include/asm/linkage.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/linkage.h b/arch/mips/include/asm/linkage.h
index 2767dda9e309..99651b0ea7c7 100644
--- a/arch/mips/include/asm/linkage.h
+++ b/arch/mips/include/asm/linkage.h
@@ -5,7 +5,6 @@
#include <asm/asm.h>
#endif
-#define __weak __attribute__((weak))
#define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall")
#define SYSCALL_ALIAS(alias, name) \
asm ( #alias " = " #name "\n\t.globl " #alias)