s390/sclp_early: Return correct HSA block count also for zero
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Mon, 24 Feb 2014 13:30:00 +0000 (14:30 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Feb 2014 16:13:57 +0000 (17:13 +0100)
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>

No differences found