From: Stephen Rothwell Date: Fri, 11 May 2007 05:37:38 +0000 (+1000) Subject: [POWERPC] Assign correct variable in hpte_decode() X-Git-Tag: v2.6.22-rc1~17^2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0c12fe5697f12c7d1d203d8152dc6382244ec1d3;p=linux-2.6-omap-h63xx.git [POWERPC] Assign correct variable in hpte_decode() This case will never be hit, but it should be corrected anyway. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c index 7d722eea4ea..59502c3222e 100644 --- a/arch/powerpc/mm/hash_native_64.c +++ b/arch/powerpc/mm/hash_native_64.c @@ -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); }