diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-23 10:31:13 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-23 12:56:56 +1000 |
commit | 4b8692c022a4b149d0c2cc3f4f7a363453fde72a (patch) | |
tree | 11e71230effaa73f24d999ed7eeacb1125c8a047 /arch/powerpc/mm/hugetlbpage-hash64.c | |
parent | 171aa2caaad16ed32b655d33565e112a12cb3537 (diff) | |
download | kernel_samsung_smdk4412-4b8692c022a4b149d0c2cc3f4f7a363453fde72a.zip kernel_samsung_smdk4412-4b8692c022a4b149d0c2cc3f4f7a363453fde72a.tar.gz kernel_samsung_smdk4412-4b8692c022a4b149d0c2cc3f4f7a363453fde72a.tar.bz2 |
powerpc/mm: Add some debug output when hash insertion fails
This adds some debug output to our MMU hash code to print out some
useful debug data if the hypervisor refuses the insertion (which
should normally never happen).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage-hash64.c')
-rw-r--r-- | arch/powerpc/mm/hugetlbpage-hash64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/hugetlbpage-hash64.c b/arch/powerpc/mm/hugetlbpage-hash64.c index faae9ec..cc5c273 100644 --- a/arch/powerpc/mm/hugetlbpage-hash64.c +++ b/arch/powerpc/mm/hugetlbpage-hash64.c @@ -127,6 +127,8 @@ repeat: */ if (unlikely(slot == -2)) { *ptep = __pte(old_pte); + hash_failure_debug(ea, access, vsid, trap, ssize, + mmu_psize, old_pte); return -1; } |