powerpc/64: Setup KUP on secondary CPUs

Some platforms (i.e. Radix MMU) need per-CPU initialisation for KUP.

Any platforms that only want to do KUP initialisation once
globally can just check to see if they're running on the boot CPU, or
check if whatever setup they need has already been performed.

Note that this is only for 64-bit.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Šī revīzija ir iekļauta:
Russell Currey
2019-04-18 16:51:21 +10:00
revīziju iesūtīja Michael Ellerman
vecāks de78a9c42a
revīzija b28c97505e
2 mainīti faili ar 4 papildinājumiem un 1 dzēšanām

Parādīt failu

@@ -45,7 +45,7 @@ static int __init parse_nosmap(char *p)
}
early_param("nosmap", parse_nosmap);
void __init setup_kup(void)
void setup_kup(void)
{
setup_kuep(disable_kuep);
setup_kuap(disable_kuap);