[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220716230953.680326814@linutronix.de>
Date: Sun, 17 Jul 2022 01:17:37 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: x86@...nel.org, Linus Torvalds <torvalds@...ux-foundation.org>,
Tim Chen <tim.c.chen@...ux.intel.com>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Andrew Cooper <Andrew.Cooper3@...rix.com>,
Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>,
Johannes Wikner <kwikner@...z.ch>,
Alyssa Milburn <alyssa.milburn@...ux.intel.com>,
Jann Horn <jannh@...gle.com>, "H.J. Lu" <hjl.tools@...il.com>,
Joao Moreira <joao.moreira@...el.com>,
Joseph Nuzman <joseph.nuzman@...el.com>,
Steven Rostedt <rostedt@...dmis.org>
Subject: [patch 17/38] module: Add arch_data to module_layout
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@...utronix.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 *,
Powered by blists - more mailing lists