diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-06-14 15:05:53 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-06-14 15:05:53 +0900 |
commit | 0412ddc82223ea2bb3a9db21355e5fe0862a97e5 (patch) | |
tree | ddbdda383dad81436f674e97e456a0f174b1b084 /arch/sh/mm | |
parent | 0375a73c6f1be69d5a9b439a7e95b92e54b3c09b (diff) | |
download | linux-stable-0412ddc82223ea2bb3a9db21355e5fe0862a97e5.tar.gz linux-stable-0412ddc82223ea2bb3a9db21355e5fe0862a97e5.tar.bz2 linux-stable-0412ddc82223ea2bb3a9db21355e5fe0862a97e5.zip |
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>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/tlb-sh5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/tlb-sh5.c b/arch/sh/mm/tlb-sh5.c index 3aea25dc431a..ff1c40a31cbc 100644 --- a/arch/sh/mm/tlb-sh5.c +++ b/arch/sh/mm/tlb-sh5.c @@ -17,7 +17,7 @@ /** * sh64_tlb_init - Perform initial setup for the DTLB and ITLB. */ -int __init sh64_tlb_init(void) +int __cpuinit sh64_tlb_init(void) { /* Assign some sane DTLB defaults */ cpu_data->dtlb.entries = 64; |