]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
s390/idle: add missing mt_cycles calculation
authorSven Schnelle <svens@linux.ibm.com>
Thu, 3 Dec 2020 21:03:32 +0000 (22:03 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 9 Dec 2020 20:02:07 +0000 (21:02 +0100)
commite259b3fafa7de362b04ecd86e7fa9a9e9273e5fb
tree8eefedee8764c34ba01910a4c431628d3edb90af
parent7a84ffc0471f0ff59f9ae10807a77bd666e24fd0
s390/idle: add missing mt_cycles calculation

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>
arch/s390/kernel/entry.S