mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
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>
This commit is contained in:
parent
e36d0a2ed5
commit
969a86a285
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue