]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
sh64: Fix up section mismatch warnings.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 14 Jun 2012 06:05:53 +0000 (15:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Jun 2012 06:05:53 +0000 (15:05 +0900)
commit0412ddc82223ea2bb3a9db21355e5fe0862a97e5
treeddbdda383dad81436f674e97e456a0f174b1b084
parent0375a73c6f1be69d5a9b439a7e95b92e54b3c09b
sh64: Fix up section mismatch warnings.

WARNING: vmlinux.o(.cpuinit.text+0x280): Section mismatch in reference from the function cpu_probe() to the function .init.text:sh64_tlb_init()
The function __cpuinit cpu_probe() references
a function __init sh64_tlb_init().
If sh64_tlb_init is only used by cpu_probe then
annotate sh64_tlb_init with a matching annotation.

sh64_tlb_init() simply needs to be __cpuinit annotated, so fix that up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/tlb-sh5.c