diff options
| author | Huacai Chen <[email protected]> | 2025-05-14 14:17:52 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-05-14 14:17:52 +0000 |
| commit | 3e245b7b74c3a2ead5fa4bad27cc275284c75189 (patch) | |
| tree | 6060e3de2374a7355d2183bdf2aab6daed90f107 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | LoongArch: Fix MAX_REG_OFFSET calculation (diff) | |
| download | kernel-3e245b7b74c3a2ead5fa4bad27cc275284c75189.tar.gz kernel-3e245b7b74c3a2ead5fa4bad27cc275284c75189.zip | |
LoongArch: Move __arch_cpu_idle() to .cpuidle.text section
Now arch_cpu_idle() is annotated with __cpuidle which means it is in
the .cpuidle.text section, but __arch_cpu_idle() isn't. Thus, fix the
missing .cpuidle.text section assignment for __arch_cpu_idle() in order
to correct backtracing with nmi_backtrace().
The principle is similar to the commit 97c8580e85cf81c ("MIPS: Annotate
cpu_wait implementations with __cpuidle")
Cc: [email protected]
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
