On 11/12/2020 11.00, Janosch Frank wrote: > Let's only read the information once and pass a pointer to it instead > of calling sclp multiple times. > > Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx> > Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx> > --- > lib/s390x/io.c | 1 + > lib/s390x/sclp.c | 31 +++++++++++++++++++++++++------ > lib/s390x/sclp.h | 3 +++ > lib/s390x/smp.c | 27 +++++++++++---------------- > 4 files changed, 40 insertions(+), 22 deletions(-) Acked-by: Thomas Huth <thuth@xxxxxxxxxx>