On 29 April 2020 at 07:13 am, Nicholas Piggin wrote:
Excerpts from Christian Zigotzky's message of April 29, 2020 2:53 pm:
Hi All,

The issue still exists in the RC3. (kernel config attached)

Please help me to fix this issue.
Huh, looks like maybe early_init_mmu() got uninlined because the
compiler decided it was unlikely.

Does this fix it?

Thanks,
Nick
--

Hi Nick,

Many thanks for your patch! It solved the issue.

Have a nice day!

Cheers,
Christian


diff --git a/arch/powerpc/include/asm/book3s/64/mmu.h 
b/arch/powerpc/include/asm/book3s/64/mmu.h
index bb3deb76c951..3ffe5f967483 100644
--- a/arch/powerpc/include/asm/book3s/64/mmu.h
+++ b/arch/powerpc/include/asm/book3s/64/mmu.h
@@ -208,7 +208,7 @@ void hash__early_init_devtree(void);
  void radix__early_init_devtree(void);
  extern void hash__early_init_mmu(void);
  extern void radix__early_init_mmu(void);
-static inline void early_init_mmu(void)
+static inline void __init early_init_mmu(void)
  {
        if (radix_enabled())
                return radix__early_init_mmu();


Reply via email to