lkml.org 
[lkml]   [2022]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch 17/38] module: Add arch_data to module_layout
Date
For the upcoming call depth tracking it's required to store extra
information in the module layout. Add a pointer.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
include/linux/module.h | 3 +++
1 file changed, 3 insertions(+)

--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -87,6 +87,9 @@ struct module_layout {
#ifdef CONFIG_MODULES_TREE_LOOKUP
struct mod_tree_node mtn;
#endif
+#ifdef CONFIG_CALL_THUNKS
+ void *arch_data;
+#endif
};

extern ssize_t __modver_version_show(struct module_attribute *,
\
 
 \ /
  Last update: 2022-07-17 01:19    [W:0.489 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site