From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52707C43334 for ; Sat, 16 Jul 2022 23:18:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233054AbiGPXST (ORCPT ); Sat, 16 Jul 2022 19:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233089AbiGPXRw (ORCPT ); Sat, 16 Jul 2022 19:17:52 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 150A922530 for ; Sat, 16 Jul 2022 16:17:40 -0700 (PDT) Message-ID: <20220716230953.680326814@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1658013457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=Gik5ycS44UWfcpIctkiTE3e/YDYlUOruM5e3iQXUL0g=; b=X807HrVwl4RC2I76VLm1mwNFcLukNwIJy98zK5GuKfgtZf78axpgJZQWCpN+TOlzWC7ftR LtYqIgn/J1aBEXXH103KQVkF9zwYkdibcM35upniyt2knLFbZWZ06H4RG5Lln3768u5Gw2 Y2SRVNMu6fHvgffnewmw86eCkEfstW6tYMlutpTFZsAUF5ueHmuoiFAm5ORKmqLBAHHZjo zBCMeLvQGzJ/NHyNgtttC4hKxegc0OHeUmELscK+O5/7B/ClV7qUUhDmnJk2aNIkYZk+th dWgiAqX1xI2XjVXT3t0th/uszclhma45tc8XZD4rHeubm7Usb8hEeJ0JN7YdMQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1658013457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=Gik5ycS44UWfcpIctkiTE3e/YDYlUOruM5e3iQXUL0g=; b=QqaQ2T5Dv6mWQOTLxLrNYUm+MJF5Ji3sORMs+v8m7dX0/HQBtK0TPd61XAHx09Fow5UZjr oicTaWnbsQyvabDA== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Linus Torvalds , Tim Chen , Josh Poimboeuf , Andrew Cooper , Pawan Gupta , Johannes Wikner , Alyssa Milburn , Jann Horn , "H.J. Lu" , Joao Moreira , Joseph Nuzman , Steven Rostedt Subject: [patch 17/38] module: Add arch_data to module_layout References: <20220716230344.239749011@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Sun, 17 Jul 2022 01:17:37 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 *,