projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e36d0a2
)
powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush
author
Nicholas Piggin
<npiggin@gmail.com>
Wed, 27 Sep 2017 05:45:58 +0000
(15:45 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 4 Oct 2017 00:28:01 +0000
(11:28 +1100)
This code is used at boot and machine checks, so it should be using
early_radix_enabled() (which is usable any time).
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/mce_power.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/mce_power.c
b/arch/powerpc/kernel/mce_power.c
index b76ca198e09c186e2d90e9b3eb83c7765c6c1cdf..d37e612050b5c9267b9f2b4570db10509528d7ef 100644
(file)
--- a/
arch/powerpc/kernel/mce_power.c
+++ b/
arch/powerpc/kernel/mce_power.c
@@
-128,7
+128,7
@@
void __flush_tlb_power9(unsigned int action)
{
unsigned int num_sets;
- if (radix_enabled())
+ if (
early_
radix_enabled())
num_sets = POWER9_TLB_SETS_RADIX;
else
num_sets = POWER9_TLB_SETS_HASH;