# RE: \[PATCH\] Adds \_\_init annotation at mmu\_init\_secondary func

- From: Michael Ellerman \<mpe@ellerman.id.au\>
- Date: 2018-07-30 06:57:25 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2018/07/9505336
- Thread: https://ratatoskr.run/linuxppc-dev/2018/07/9505302/t.md

```text
Alexey Spirkov [ref] 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
```
