Re: [RFC][PATCH] ftrace: Make DYNAMIC_FTRACE always enabled for architectures that support it

From
Steven Rostedt <rostedt@goodmis.org>
Date
2025-07-03 19:52:09
Also in
linux-arch, lkml
Reply to
Steven Rostedt, 2025-07-03
On Thu, 3 Jul 2025 15:49:16 -0400
Steven Rostedt [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/linux/unwind_deferred.h b/include/linux/unwind_deferred.h
index 515d2995672d..14efd8c027aa 100644
--- a/include/linux/unwind_deferred.h
+++ b/include/linux/unwind_deferred.h
@@ -28,8 +28,8 @@ void unwind_deferred_cancel(struct unwind_work *work);
 
 static __always_inline void unwind_reset_info(void)
 {
-	if (unlikely(current->unwind_info.id))
-		current->unwind_info.id = 0;
+	if (unlikely(current->unwind_info.id.id))
+		current->unwind_info.id.id = 0;
 	/*
 	 * As unwind_user_faultable() can be called directly and
 	 * depends on nr_entries being cleared on exit to user,
Bah, I did this while fixing the unwind patches.

Oops!

-- Steve
Thread (7 messages) 7 messages, 2 authors, last reply 2025-07-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help