diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2014-02-24 13:30:00 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-02-24 16:13:57 (GMT) |
commit | 9499934f70deac0cdb96aa2d90f2a0a2de69d80c (patch) | |
tree | 99c6c2ed6f42c4f463a2c97d985c859c3803207e /arch/s390/mm/maccess.c | |
parent | 322986ca64d170abb343763640763f3d7933bb69 (diff) | |
download | linux-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