section mismatch warning after inserting #pragma GCC
optimize ?
Hello all,
In linux 5.4.21 source code, I put
#pragma GCC push_options
#pragma GCC optimize ("O0")
and
#pragma GCC pop_options
around function static int __init gic_init_bases in file
drivers/irqchip/
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
Hello all,
In linux 5.4.21 source code, I put
#pragma GCC push_options
#pragma GCC optimize ("O0")
and
#pragma GCC pop_options
around function static int __init gic_init_bases in file
drivers/irqchip/irq-gic-v3.c.
When I build it, I get this warning message (section