From: Christian Borntraeger Date: Mon, 27 May 2013 14:19:55 +0000 (+0200) Subject: s390/pgtable: Fix check for pgste/storage key handling X-Git-Tag: v3.10-rc5~35^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b56433cb782d1cc7e44fc46d2ce3917fa75d2236;p=pandora-kernel.git s390/pgtable: Fix check for pgste/storage key handling pte_present might return true on PAGE_TYPE_NONE, even if the invalid bit is on. Modify the existing check of the pgste functions to avoid crashes. [ Martin Schwidefsky: added ptep_modify_prot_[start|commit] bits ] Reported-by: Martin Schwidefky Signed-off-by: Christian Borntraeger CC: stable@vger.kernel.org Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed