From: Nathan Fontenot Date: Thu, 5 Aug 2010 07:42:11 +0000 (+0000) Subject: powerpc: Correct smt_enabled=X boot option for > 2 threads per core X-Git-Tag: v2.6.36-rc3~37^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=954e6da54b2f3a5e2634312db800bc1395c509ee;p=pandora-kernel.git powerpc: Correct smt_enabled=X boot option for > 2 threads per core The 'smt_enabled=X' boot option does not handle values of X > 2. For Power 7 processors with smt modes of 0,1,2,3, and 4 this does not work. This patch allows the smt_enabled option to be set to any value limited to a max equal to the number of threads per core. Signed-off-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed