diff options
author | Nicholas Piggin | 2018-02-13 16:08:11 +0100 |
---|---|---|
committer | Michael Ellerman | 2018-03-30 14:34:22 +0200 |
commit | 8e0b634b132752ec3eba50afb952502b1a87d6ba (patch) | |
tree | 870818dfb79d9b0900fa0458ffbee7a39091edac /arch/powerpc/kernel/machine_kexec_64.c | |
parent | powerpc/mpic: Check if cpu_possible() in mpic_physmask() (diff) | |
download | kernel-qcow2-linux-8e0b634b132752ec3eba50afb952502b1a87d6ba.tar.gz kernel-qcow2-linux-8e0b634b132752ec3eba50afb952502b1a87d6ba.tar.xz kernel-qcow2-linux-8e0b634b132752ec3eba50afb952502b1a87d6ba.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec_64.c')
0 files changed, 0 insertions, 0 deletions