Message ID | 20240313180106.2917308-3-vschneid@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | jump_label: Fix __ro_after_init keys for modules & annotate some keys | expand |
diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index 70ae70d038233..24b1e11432608 100644 --- a/kernel/context_tracking.c +++ b/kernel/context_tracking.c @@ -432,7 +432,7 @@ static __always_inline void ct_kernel_enter(bool user, int offset) { } #define CREATE_TRACE_POINTS #include <trace/events/context_tracking.h> -DEFINE_STATIC_KEY_FALSE(context_tracking_key); +DEFINE_STATIC_KEY_FALSE_RO(context_tracking_key); EXPORT_SYMBOL_GPL(context_tracking_key); static noinstr bool context_tracking_recursion_enter(void)