I found adding __init to gic_smp_init() removed this warning message.
Is it ok to move this function to .init.text ? (doesn't it cause it to be
removed after initialization?)
Chan
From: Chan Kim
Sent: Sunday, January 23, 2022 7:48 PM
To: kernelnewbies@kernelnewbies.org
Subject: how to fix
On Sun, Jan 23, 2022 at 07:48:01PM +0900, Chan Kim wrote:
> Hello all,
>
>
>
> In linux 5.4.21 source code, I put
>
> #pragma GCC push_options
>
> #pragma GCC optimize ("O0")
Do not do that. Bad things will happen, the kernel really does not like
this at all.
Why do you want to