From: Kirill A. Shutemov Date: Thu, 22 Jul 2010 12:20:22 +0000 (+0100) Subject: ARM: 6255/1: Workaround infinity loop in handling of translation faults X-Git-Tag: v2.6.36-rc1~591^2~1^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33a9c41bf5d8adae9d882513e617c4c645195e71;p=pandora-kernel.git ARM: 6255/1: Workaround infinity loop in handling of translation faults On ARM one Linux PGD entry contains two hardware entries (see page tables layout in pgtable.h). We normally guarantee that we always fill both L1 entries. But create_mapping() doesn't follow the rule. It can create inidividual L1 entries, so here we have to call pmd_none() check in do_translation_fault() for the entry really corresponded to address, not for the first of pair. Signed-off-by: Kirill A. Shutemov Signed-off-by: Russell King --- Reading git-diff-tree failed