summaryrefslogtreecommitdiff
path: root/kernel/workqueue_internal.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-10-19 23:26:20 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-30 05:01:43 (GMT)
commit733187e29576041ceccf3b82092ca900fc929170 (patch)
tree726795008263fd9d5f01a020a3d60f2d04d353e3 /kernel/workqueue_internal.h
parentdbc2fbd7c29a78724e761711d516930246c0e1c2 (diff)
downloadlinux-fsl-qoriq-733187e29576041ceccf3b82092ca900fc929170.tar.xz
powerpc/pseries: Fix dedicated processor partition detection
commit f13c13a00512 (powerpc: Stop using non-architected shared_proc field in lppaca) fixed a potential issue with shared/dedicated partition detection. The old method of detection relied on an unarchitected field (shared_proc), and this patch switched to using something architected (a non zero yield_count). Unfortunately the assertion in the Linux header that yield_count is only non zero on shared processor partitions is not true. It turns out dedicated processor partitions can increment yield_count and as such we falsely detect dedicated partitions as shared. Fix the comment, and switch back to using the old method. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions