]> git.karo-electronics.de Git - mv-sheeva.git/commit
[POWERPC] Fix warning in hpte_decode(), and generalize it
authorPaul Mackerras <paulus@samba.org>
Thu, 10 May 2007 05:28:44 +0000 (15:28 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 May 2007 11:28:13 +0000 (21:28 +1000)
commit2454c7e98c0dd0aff29dfe1ee369801507f4d6a5
tree3f95e3254d698a84cab15059ad4819919e99f593
parentde1132173a81ae11aaa6af11ed9ded5f0c565c87
[POWERPC] Fix warning in hpte_decode(), and generalize it

This adds the necessary support to hpte_decode() to handle 1TB
segments and 16GB pages, and removes an uninitialized value
warning on avpn.

We don't have any code to generate HPTEs for 1TB segments or 16GB
pages yet, so this is mostly for completeness, and to fix the
warning.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_native_64.c
include/asm-powerpc/mmu-hash64.h