From: Heiko Carstens Date: Thu, 4 Oct 2012 15:02:02 +0000 (+0200) Subject: s390/mm: fix mapping of read-only kernel text section X-Git-Tag: v3.7-rc1~62^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fe234d3c8d66771b327accb8eef26f70a8a8db8;p=pandora-kernel.git s390/mm: fix mapping of read-only kernel text section Within the identity mapping the kernel text section is mapped read-only. However when mapping the first and last page of the text section we must round upwards and downwards respectively, if only parts of a page belong to the section. Otherwise potential rw data can be mapped read-only. So the rounding must be done just the other way we have it right now. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed