summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-10-20 10:26:20 +1100
committerJiri Slaby <jslaby@suse.cz>2015-11-14 17:48:50 +0100
commit594a70103f91b679da58cefa6c6ca14f9afb5838 (patch)
tree53d90fef858b87d252ea3f5464c1834606941ef9 /net
parent09f041d02b9d5407d544d6fd5a9026072c44956f (diff)
powerpc/pseries: Fix dedicated processor partition detection
commit 733187e29576041ceccf3b82092ca900fc929170 upstream. 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> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions