The objtool complains about the call to rcu_cleanup_after_idle() from rcu_nmi_enter(), so this commit adds instrumentation_begin() before that call and instrumentation_end() after it.
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -990,8 +990,11 @@ noinstr void rcu_nmi_enter(void) · 989 unmodified lines | ||
| 990 | 990 | rcu_dynticks_eqs_exit(); |
| 991 | 991 | // ... but is watching here. |
| 992 | 992 | |
| 993 | − if (!in_nmi()) | |
| 993 | + if (!in_nmi()) { | |
| 994 | + instrumentation_begin(); | |
| 994 | 995 | rcu_cleanup_after_idle(); |
| 996 | + instrumentation_end(); | |
| 997 | + } | |
| 995 | 998 | |
| 996 | 999 | instrumentation_begin(); |
| 997 | 1000 | // instrumentation for the noinstr rcu_dynticks_curr_cpu_in_eqs() |