diff options
author | Alexey Spirkov <AlexeiS@astrosoft.ru> | 2018-07-26 14:52:50 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-30 14:48:22 +0200 |
commit | f7e2a152231f4a0308cc8f9c2296ba4e419ae945 (patch) | |
tree | e93d23c88941728af1c1d7e10d75a1baf7f5b1b5 /drivers/macintosh | |
parent | powerpc/mm: Don't report PUDs as memory leaks when using kmemleak (diff) | |
download | linux-f7e2a152231f4a0308cc8f9c2296ba4e419ae945.tar.xz linux-f7e2a152231f4a0308cc8f9c2296ba4e419ae945.zip |
powerpc/44x: Mark mmu_init_secondary() as __init
mmu_init_secondary() calls ppc44x_pin_tlb() which is marked __init,
leading to a warning:
The function mmu_init_secondary() references
the function __init ppc44x_pin_tlb().
There's no CPU hotplug support on 44x so mmu_init_secondary() will
only be called at boot. Therefore we should mark it as __init.
Signed-off-by: Alexey Spirkov <alexeis@astrosoft.ru>
[mpe: Flesh out change log details]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions