aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2014-10-13 19:01:03 -0600
committerBjorn Helgaas <[email protected]>2014-10-22 16:14:04 -0600
commit271a9c35158910496f6fc3a635c2ed85df6be3d9 (patch)
treedd204a9a4a212f830dfa3c474a28491458604088 /lib/cpu-notifier-error-inject.c
parente0a8400c6923a163265d52798cdd4c33f3f8ab5a (diff)
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 <[email protected]> Acked-by: Ingo Molnar <[email protected]> Acked-by: Srikar Dronamraju <[email protected]> CC: Victor Kamensky <[email protected]> CC: Oleg Nesterov <[email protected]> CC: David A. Long <[email protected]> CC: Ananth N Mavinakayanahalli <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions