]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/44x: Mark mmu_init_secondary() as __init
authorAlexey Spirkov <AlexeiS@astrosoft.ru>
Thu, 26 Jul 2018 12:52:50 +0000 (12:52 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 30 Jul 2018 12:48:22 +0000 (22:48 +1000)
commit65ab03358f1d25bd52182b924c1f316acbb884aa
treee93d23c88941728af1c1d7e10d75a1baf7f5b1b5
parentcb49163db8b0823264c75601de53eef9b7d16282
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>
arch/powerpc/mm/44x_mmu.c