commit | 257c6e1ce8f875dd02220e90cf38e615e47788fe | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Mon Mar 19 13:18:50 2007 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Mar 19 13:18:50 2007 +0100 |
tree | 2fa6710a381d323202bbbce2971dd4743d239075 | |
parent | dcc49d460c4052d2fa7ba44e81d3b814b799f802 [diff] |
[S390] memory detection: fix off by one bug. diag 260 returns the address of the last addressable byte and not the size of memory. Since we want the size we have to add 1 to the return value. Disable diag 260 for non z/Arch mode since it doesn't work there anyway. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>