Re: [PATCH] ARM: perf: Fix section mismatch on armpmu_init()

From: Stephen Boyd
Date: Mon Mar 04 2013 - 21:55:11 EST


On 03/04/13 18:43, Will Deacon wrote:
> On Mon, Mar 04, 2013 at 11:15:37PM +0000, Stephen Boyd wrote:
>> 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.
>>
>> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> Cheers Stephen:
>
> Acked-by: Will Deacon <will.deacon@xxxxxxx>
>
> Can you put this into the patch system please?
>
>

Thanks. 7667/1

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/