From: Anton Blanchard Date: Wed, 14 Jul 2010 19:31:48 +0000 (+0000) Subject: powerpc/mm: Handle hypervisor pte insert failure in __hash_page_huge X-Git-Tag: v2.6.35~42^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1623e7eb280f853f60338c7bb68bd3f3a970205;p=pandora-kernel.git powerpc/mm: Handle hypervisor pte insert failure in __hash_page_huge If the hypervisor gives us an error on a hugepage insert we panic. The normal page code already handles this by returning an error instead and we end calling low_hash_fault which will just kill the task if possible. The patch below does a similar thing for the hugepage case. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed