From: Heiko Carstens Date: Mon, 19 Mar 2007 12:18:50 +0000 (+0100) Subject: [S390] memory detection: fix off by one bug. X-Git-Tag: v2.6.21-rc5~55^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=257c6e1ce8f875dd02220e90cf38e615e47788fe;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed