Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6bed093 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/time: clock comparator revalidation



Always use the S390_lowcore.clock_comparator field to revalidate
the clock comparator CPU register after a machine check. This avoids
an unnecssary external interrupt after a machine check if no timer
is pending.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 363fd4c1
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -214,9 +214,6 @@ static int notrace s390_revalidate_registers(struct mci *mci)
			: "0", "cc");
#endif
	/* Revalidate clock comparator register */
	if (S390_lowcore.clock_comparator == -1)
		set_clock_comparator(S390_lowcore.mcck_clock);
	else
	set_clock_comparator(S390_lowcore.clock_comparator);
	/* Check if old PSW is valid */
	if (!mci->wp)