aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-10-13 18:59:41 -0600
committerBjorn Helgaas <bhelgaas@google.com>2014-10-22 16:14:04 -0600
commit5ab03ac5aaa1f032e071f1b3dc433b7839359c03 (patch)
treecb6d5fc631582ca565a3d6cc59e5bdd84eeabd77 /arch/arc
parentclocksource: Remove "weak" from clocksource_default_clock() declaration (diff)
downloadlinux-dev-5ab03ac5aaa1f032e071f1b3dc433b7839359c03.tar.xz
linux-dev-5ab03ac5aaa1f032e071f1b3dc433b7839359c03.zip
vmcore: Remove "weak" from function declarations
For the following functions: elfcorehdr_alloc() elfcorehdr_free() elfcorehdr_read() elfcorehdr_read_notes() remap_oldmem_pfn_range() fs/proc/vmcore.c provides default definitions explicitly marked "weak". arch/s390 provides its own definitions intended to override the default ones, but the "weak" attribute on the declarations applied to the s390 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. Fixes: be8a8d069e50 ("vmcore: introduce ELF header in new memory feature") Fixes: 9cb218131de1 ("vmcore: introduce remap_oldmem_pfn_range()") Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Vivek Goyal <vgoyal@redhat.com> CC: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions