[PATCH 03/12] unwind: Add required include files

Peter Zijlstra posted 12 patches 1 week ago
[PATCH 03/12] unwind: Add required include files
Posted by Peter Zijlstra 1 week ago
To be self sufficient, the file needs to include linux/types.h. This
provides things like u32/u64 and struct callback_head.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
---
 include/linux/unwind_deferred_types.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/include/linux/unwind_deferred_types.h
+++ b/include/linux/unwind_deferred_types.h
@@ -2,6 +2,8 @@
 #ifndef _LINUX_UNWIND_USER_DEFERRED_TYPES_H
 #define _LINUX_UNWIND_USER_DEFERRED_TYPES_H
 
+#include <linux/types.h>
+
 struct unwind_cache {
 	unsigned long		unwind_completed;
 	unsigned int		nr_entries;
Re: [PATCH 03/12] unwind: Add required include files
Posted by Steven Rostedt 10 hours ago
On Wed, 24 Sep 2025 09:59:51 +0200
Peter Zijlstra <peterz@infradead.org> wrote:

> To be self sufficient, the file needs to include linux/types.h. This
> provides things like u32/u64 and struct callback_head.
> 
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>

-- Steve