summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-10-14 03:01:03 +0200
committerBjorn Helgaas <bhelgaas@google.com>2014-10-23 00:14:04 +0200
commit271a9c35158910496f6fc3a635c2ed85df6be3d9 (patch)
treedd204a9a4a212f830dfa3c474a28491458604088 /Documentation
parentmemory-hotplug: Remove "weak" from memory_block_size_bytes() declaration (diff)
downloadlinux-271a9c35158910496f6fc3a635c2ed85df6be3d9.tar.xz
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 'Documentation')
0 files changed, 0 insertions, 0 deletions