aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-11 01:38:34 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-11 21:32:47 -0400
commit8980ae86779288b19554426d71986f04c05f7a49 (patch)
tree4ba3aeee6885519b61371fb69b81cfbf0ce3e1cf /arch/powerpc/mm
parent0c12fe5697f12c7d1d203d8152dc6382244ec1d3 (diff)
[POWERPC] Remove unused variable in hpte_decode()
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/hash_native_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c
index 59502c3222e3..4a20d890e2f4 100644
--- a/arch/powerpc/mm/hash_native_64.c
+++ b/arch/powerpc/mm/hash_native_64.c
@@ -351,7 +351,7 @@ static void hpte_decode(hpte_t *hpte, unsigned long slot,
351 unsigned long hpte_r = hpte->r; 351 unsigned long hpte_r = hpte->r;
352 unsigned long hpte_v = hpte->v; 352 unsigned long hpte_v = hpte->v;
353 unsigned long avpn; 353 unsigned long avpn;
354 int i, size, shift, penc, avpnm_bits; 354 int i, size, shift, penc;
355 355
356 if (!(hpte_v & HPTE_V_LARGE)) 356 if (!(hpte_v & HPTE_V_LARGE))
357 size = MMU_PAGE_4K; 357 size = MMU_PAGE_4K;