On Fri, 3 Nov 2023 10:29:34 +0100 Nico Boehr <nrb@xxxxxxxxxxxxx> wrote: [...] > diff --git a/lib/s390x/asm/interrupt.h b/lib/s390x/asm/interrupt.h > index d01f8a89641a..7f73d473b346 100644 > --- a/lib/s390x/asm/interrupt.h > +++ b/lib/s390x/asm/interrupt.h > @@ -97,4 +97,18 @@ static inline void low_prot_disable(void) > ctl_clear_bit(0, CTL0_LOW_ADDR_PROT); > } > > +/** > + * read_pgm_int_code - Get the program interruption code of the last pgm int > + * on the current CPU. > + * > + * This is similar to clear_pgm_int(), except that it doesn't clear the > + * interruption information from lowcore. > + * > + * Returns 0 when none occurred. * Return: with that fixed: Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> [...]