projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a3fd05
)
[POWERPC] Assign correct variable in hpte_decode()
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 11 May 2007 05:37:38 +0000
(15:37 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 12 May 2007 01:32:47 +0000
(11:32 +1000)
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>
arch/powerpc/mm/hash_native_64.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/hash_native_64.c
b/arch/powerpc/mm/hash_native_64.c
index
7d722ee
..
59502c3
100644
(file)
--- 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 =
p
size = 0;
+ avpn = vpi = size = 0;
}
avpn |= (vpi << mmu_psize_defs[size].shift);
}