vmlinux.o: warning: objtool: smp_stop_nmi_callback()+0x2b: unreachable instruction 0000 0000000000047cf0 <smp_stop_nmi_callback>: ... 0026 47d16: e8 00 00 00 00 call 47d1b <smp_stop_nmi_callback+0x2b> 47d17: R_X86_64_PLT32 stop_this_cpu-0x4 002b 47d1b: b8 01 00 00 00 mov $0x1,%eax
Unified · Split
| @@ -835,7 +835,7 @@ bool xen_set_default_idle(void); · 834 unmodified lines | |||
| 835 | #define xen_set_default_idle 0 | 835 | #define xen_set_default_idle 0 |
| 836 | #endif | 836 | #endif |
| 837 | 837 | ||
| 838 | void stop_this_cpu(void *dummy); | 838 | void __noreturn stop_this_cpu(void *dummy); |
| 839 | void microcode_check(void); | 839 | void microcode_check(void); |
| 840 | 840 | ||
| 841 | enum l1tf_mitigations { | 841 | enum l1tf_mitigations { |
| @@ -747,7 +747,7 @@ bool xen_set_default_idle(void) · 746 unmodified lines | |||
| 747 | } | 747 | } |
| 748 | #endif | 748 | #endif |
| 749 | 749 | ||
| 750 | void stop_this_cpu(void *dummy) | 750 | void __noreturn stop_this_cpu(void *dummy) |
| 751 | { | 751 | { |
| 752 | local_irq_disable(); | 752 | local_irq_disable(); |
| 753 | /* | 753 | /* |
| @@ -181,6 +181,7 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func, · 180 unmodified lines | |||
| 181 | "kunit_try_catch_throw", | 181 | "kunit_try_catch_throw", |
| 182 | "xen_start_kernel", | 182 | "xen_start_kernel", |
| 183 | "cpu_bringup_and_idle", | 183 | "cpu_bringup_and_idle", |
| 184 | "stop_this_cpu", | ||
| 184 | }; | 185 | }; |
| 185 | 186 | ||
| 186 | if (!func) | 187 | if (!func) |