summaryrefslogtreecommitdiff
path: root/arch/s390/mm/maccess.c
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2014-02-24 13:30:00 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-02-24 16:13:57 (GMT)
commit9499934f70deac0cdb96aa2d90f2a0a2de69d80c (patch)
tree99c6c2ed6f42c4f463a2c97d985c859c3803207e /arch/s390/mm/maccess.c
parent322986ca64d170abb343763640763f3d7933bb69 (diff)
downloadlinux-9499934f70deac0cdb96aa2d90f2a0a2de69d80c.tar.xz
s390/sclp_early: Return correct HSA block count also for zero
Currently we return a negative block count if SCLP returns HSA block count zero. The reason is that we subtract one for the header page. So fix this and correctly return zero block count if SCLP returns zero. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/maccess.c')
0 files changed, 0 insertions, 0 deletions