mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
[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>
This commit is contained in:
parent
0a3fd051c7
commit
0c12fe5697
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user