From: Stephen Boyd Date: Tue, 5 Mar 2013 02:54:06 +0000 (+0100) Subject: ARM: 7667/1: perf: Fix section mismatch on armpmu_init() X-Git-Tag: v3.9-rc2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44d6b1fc3e3c6a3af8e599b724972e881c81e1c9;p=pandora-kernel.git ARM: 7667/1: perf: Fix section mismatch on armpmu_init() WARNING: vmlinux.o(.text+0xfb80): Section mismatch in reference from the function armpmu_register() to the function .init.text:armpmu_init() The function armpmu_register() references the function __init armpmu_init(). This is often because armpmu_register lacks a __init annotation or the annotation of armpmu_init is wrong. Just drop the __init marking on armpmu_init() because armpmu_register() no longer has an __init marking. Acked-by: Will Deacon Signed-off-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed