-
- Downloads
powerpc: Stop using non-architected shared_proc field in lppaca
Although the shared_proc field in the lppaca works today, it is not architected. A shared processor partition will always have a non zero yield_count so use that instead. Create a wrapper so users don't have to know about the details. In order for older kernels to continue to work on KVM we need to set the shared_proc bit. While here, remove the ugly bitfield. Signed-off-by:Anton Blanchard <anton@samba.org> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/include/asm/lppaca.h 14 additions, 4 deletionsarch/powerpc/include/asm/lppaca.h
- arch/powerpc/include/asm/spinlock.h 1 addition, 1 deletionarch/powerpc/include/asm/spinlock.h
- arch/powerpc/kernel/lparcfg.c 3 additions, 2 deletionsarch/powerpc/kernel/lparcfg.c
- arch/powerpc/kvm/book3s_hv.c 1 addition, 1 deletionarch/powerpc/kvm/book3s_hv.c
- arch/powerpc/mm/numa.c 1 addition, 1 deletionarch/powerpc/mm/numa.c
- arch/powerpc/platforms/pseries/hotplug-cpu.c 2 additions, 2 deletionsarch/powerpc/platforms/pseries/hotplug-cpu.c
- arch/powerpc/platforms/pseries/processor_idle.c 1 addition, 1 deletionarch/powerpc/platforms/pseries/processor_idle.c
Loading
Please register or sign in to comment