[PATCH] Adds __init annotation at mmu_init_secondary func

Michael Ellerman mpe at ellerman.id.au
Mon Jul 30 16:57:22 AEST 2018


Alexey Spirkov <AlexeiS at astrosoft.ru> writes:

> Without any additional option 
>
> WARNING: modpost: Found 1 section mismatch(es).
>
> If detailed debug is switched on than:
>
> WARNING: vmlinux.o(.text+0x142ac): Section mismatch in reference from the function mmu_init_secondary() to the function .init.text:ppc44x_pin_tlb()
> The function mmu_init_secondary() references
> the function __init ppc44x_pin_tlb().
> This is often because mmu_init_secondary lacks a __init 
> annotation or the annotation of ppc44x_pin_tlb is wrong.

Ah right, thanks.

I checked ppc47x_pin_tlb() but didn't spot the call to ppc44x_pin_tlb().

cheers


More information about the Linuxppc-dev mailing list