powerpc: Correct smt_enabled=X boot option for > 2 threads per core
authorNathan Fontenot <nfont@austin.ibm.com>
Thu, 5 Aug 2010 07:42:11 +0000 (07:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Aug 2010 05:26:30 +0000 (15:26 +1000)
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 <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found