[POWERPC] Assign correct variable in hpte_decode()
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 11 May 2007 05:37:38 +0000 (15:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 May 2007 01:32:47 +0000 (11:32 +1000)
This case will never be hit, but it should be corrected anyway.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_native_64.c

index 7d722eea4ea8ba927850c54cc85aff990ed81727..59502c3222e31bc0df5bfcdae9ec2a091ddcc9ef 100644 (file)
@@ -395,7 +395,7 @@ static void hpte_decode(hpte_t *hpte, unsigned long slot,
                        vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask;
                        break;
                default:
-                       avpn = vpi = psize = 0;
+                       avpn = vpi = size = 0;
                }
                avpn |= (vpi << mmu_psize_defs[size].shift);
        }