From: Anton Blanchard Date: Tue, 6 Aug 2013 16:01:26 +0000 (+1000) Subject: powerpc: Stop using non-architected shared_proc field in lppaca X-Git-Tag: v3.12-rc1~123^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f13c13a005127b5dc5daaca190277a062d946e63;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed