diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-11 15:37:38 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-12 11:32:47 +1000 |
commit | 0c12fe5697f12c7d1d203d8152dc6382244ec1d3 (patch) | |
tree | fa16621ac97df92b83a43acd70835cd5bb6af6f1 | |
parent | 0a3fd051c7036ef71b58863f8e5da7c3dabd9d3f (diff) | |
download | op-kernel-dev-0c12fe5697f12c7d1d203d8152dc6382244ec1d3.zip op-kernel-dev-0c12fe5697f12c7d1d203d8152dc6382244ec1d3.tar.gz |
[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>
-rw-r--r-- | arch/powerpc/mm/hash_native_64.c | 2 |
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 7d722ee..59502c3 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); } |