summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-11 15:37:38 +1000
committerPaul Mackerras <paulus@samba.org>2007-05-12 11:32:47 +1000
commit0c12fe5697f12c7d1d203d8152dc6382244ec1d3 (patch)
treefa16621ac97df92b83a43acd70835cd5bb6af6f1 /arch/powerpc/mm
parent0a3fd051c7036ef71b58863f8e5da7c3dabd9d3f (diff)
downloadlinux-0c12fe5697f12c7d1d203d8152dc6382244ec1d3.tar.gz
linux-0c12fe5697f12c7d1d203d8152dc6382244ec1d3.tar.bz2
linux-0c12fe5697f12c7d1d203d8152dc6382244ec1d3.zip
[POWERPC] Assign correct variable in hpte_decode()
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>
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 7d722eea4ea8..59502c3222e3 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);
}