diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-09-27 07:45:58 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-04 02:28:01 +0200 |
commit | 969a86a2855d484a00205a424df1c693acee15d9 (patch) | |
tree | 7ac32603c2d030ff3d68a14ef89169a2acd0a830 /arch/powerpc/kernel/mce_power.c | |
parent | powerpc/powernv: Implement NMI IPI with OPAL_SIGNAL_SYSTEM_RESET (diff) | |
download | linux-969a86a2855d484a00205a424df1c693acee15d9.tar.xz linux-969a86a2855d484a00205a424df1c693acee15d9.zip |
powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush
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>
Diffstat (limited to 'arch/powerpc/kernel/mce_power.c')
-rw-r--r-- | arch/powerpc/kernel/mce_power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/mce_power.c b/arch/powerpc/kernel/mce_power.c index b76ca198e09c..d37e612050b5 100644 --- 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; |