On Tue, 17 Nov 2020 10:42:12 -0500 Janosch Frank <frankja@xxxxxxxxxxxxx> 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> > --- > lib/s390x/io.c | 1 + > lib/s390x/sclp.c | 29 +++++++++++++++++++++++------ > lib/s390x/sclp.h | 3 +++ > lib/s390x/smp.c | 23 +++++++++-------------- > 4 files changed, 36 insertions(+), 20 deletions(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>