Nicholas Piggin 8e0b634b13 powerpc/64s: Do not allocate lppaca if we are not virtualized
The "lppaca" is a structure registered with the hypervisor. This is
unnecessary when running on non-virtualised platforms. One field from
the lppaca (pmcregs_in_use) is also used by the host, so move the host
part out into the paca (lppaca field is still updated in
guest mode).

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Fix non-pseries build with some #ifdefs]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-03-30 23:34:22 +11:00
..
2018-02-06 09:59:40 -08:00
2018-02-10 13:16:35 -08:00
2018-02-10 13:16:35 -08:00
2018-02-11 13:52:32 -08:00
2018-02-07 11:33:08 -08:00
2018-02-10 13:16:35 -08:00
2018-02-06 10:41:33 -08:00