aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-05-11 01:37:38 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-11 21:32:47 -0400
commit0c12fe5697f12c7d1d203d8152dc6382244ec1d3 (patch)
treefa16621ac97df92b83a43acd70835cd5bb6af6f1 /arch
parent0a3fd051c7036ef71b58863f8e5da7c3dabd9d3f (diff)
[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')
-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,
395 vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask; 395 vpi = (vsid ^ (vsid << 25) ^ pteg) & htab_hash_mask;
396 break; 396 break;
397 default: 397 default:
398 avpn = vpi = psize = 0; 398 avpn = vpi = size = 0;
399 } 399 }
400 avpn |= (vpi << mmu_psize_defs[size].shift); 400 avpn |= (vpi << mmu_psize_defs[size].shift);
401 } 401 }