s390/cpuinfo: show maximum thread id
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 27 Jun 2016 11:19:22 +0000 (13:19 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Jul 2016 07:25:20 +0000 (09:25 +0200)
commit10f4954ae67b3be6dac3cdfb1e0057c3779542be
treead6fba21caee7e564946b7968c680453d9aac064
parent25d539c9a958faf092bc1b8736ebc30b49faeebc
s390/cpuinfo: show maximum thread id

Expose the maximum thread id with /proc/cpuinfo.
With the new line the output looks like this:

vendor_id       : IBM/S390
bogomips per cpu: 20325.00
max thread id   : 1

With this new interface it is possible to always tell the correct
number of cpu threads potentially being used by the kernel.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/processor.c