s390/idle: add missing mt_cycles calculation
authorSven Schnelle <svens@linux.ibm.com>
Thu, 3 Dec 2020 21:03:32 +0000 (22:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:08 +0000 (11:54 +0100)
commitd5d21549d7eb73c3eeeef1e60d0c53ac2e61ad36
tree9604bdc1cb271e59611019e7ec6bb24cf2e054ce
parentbc8f8833e994c7b58236101686188ccd3d65098f
s390/idle: add missing mt_cycles calculation

commit e259b3fafa7de362b04ecd86e7fa9a9e9273e5fb upstream.

During removal of the critical section cleanup the calculation
of mt_cycles during idle was removed. This causes invalid
accounting on systems with SMT enabled.

Fixes: 0b0ed657fe00 ("s390: remove critical section cleanup from entry.S")
Cc: <stable@vger.kernel.org> # 5.8
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/entry.S