diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-10-13 19:01:03 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-10-22 16:14:04 -0600 |
commit | 271a9c35158910496f6fc3a635c2ed85df6be3d9 (patch) | |
tree | dd204a9a4a212f830dfa3c474a28491458604088 /arch/arc | |
parent | e0a8400c6923a163265d52798cdd4c33f3f8ab5a (diff) | |
download | talos-obmc-linux-271a9c35158910496f6fc3a635c2ed85df6be3d9.tar.gz talos-obmc-linux-271a9c35158910496f6fc3a635c2ed85df6be3d9.zip |
uprobes: Remove "weak" from function declarations
For the following interfaces:
set_swbp()
set_orig_insn()
is_swbp_insn()
is_trap_insn()
uprobe_get_swbp_addr()
arch_uprobe_ignore()
arch_uprobe_copy_ixol()
kernel/events/uprobes.c provides default definitions explicitly marked
"weak". Some architectures provide their own definitions intended to
override the defaults, but the "weak" attribute on the declarations applied
to the arch definitions as well, so the linker chose one based on link
order (see 10629d711ed7 ("PCI: Remove __weak annotation from
pcibios_get_phb_of_node decl")).
Remove the "weak" attribute from the declarations so we always prefer a
non-weak definition over the weak one, independent of link order.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
CC: Victor Kamensky <victor.kamensky@linaro.org>
CC: Oleg Nesterov <oleg@redhat.com>
CC: David A. Long <dave.long@linaro.org>
CC: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions