From patchwork Fri Aug 4 06:43:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 13341330 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CFD4C001DB for ; Fri, 4 Aug 2023 06:43:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 22CEA2802D0; Fri, 4 Aug 2023 02:43:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1DD7E2802BC; Fri, 4 Aug 2023 02:43:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0CC8F2802D0; Fri, 4 Aug 2023 02:43:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 01E232802BC for ; Fri, 4 Aug 2023 02:43:45 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id B82181608B6 for ; Fri, 4 Aug 2023 06:43:45 +0000 (UTC) X-FDA: 81085481610.26.3847066 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf02.hostedemail.com (Postfix) with ESMTP id EE63780003 for ; Fri, 4 Aug 2023 06:43:43 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=CdgKgrMr; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf02.hostedemail.com: domain of gregkh@linuxfoundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691131424; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=rYnNnM1g4Vc9G1g+QSXLXBGMO7LWeL7qMdeK8RYm9Ic=; b=SOKqPw9t2Y6SuVmRsawqhrkDqVDc1/ZK1AMJg0x5IqU/uQtUg1WhScwNl8SZqbaeI4XKCH nKbHhtnP0N/Es5gSoMF5sxM6EumMS38KLmxQ8PDCcPfB4/tOi020DFECVRqoVU7k7MhHy8 Fa0c8yZ68cFeTAiWAHl371BDnSlRpGQ= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=CdgKgrMr; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf02.hostedemail.com: domain of gregkh@linuxfoundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691131424; a=rsa-sha256; cv=none; b=j1wsf8SxDQCyAJj90t+DnMvS/yqGe9/3seiltd30n9674DwaGLy3WYL5uFeVj7i56PYL1Y MvyozuUQ1oD7oac3hbOX1lolFG/xxouS6V5/63d40JxdacmGvFoI0iQMQ0gTTgKJ6huru3 6icsJ80cNVWzV1eWPHEMnCsFoG6/PI0= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 02D7261F42; Fri, 4 Aug 2023 06:43:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F97CC433C8; Fri, 4 Aug 2023 06:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691131422; bh=4rXtZPtL5oQZoxxNsOTexNzySBfq8KQl2Tp+f+M43vA=; h=From:To:Cc:Subject:Date:From; b=CdgKgrMr+e779lW8G7zOTJdGrnqImbZkRqYUEQZSNqdDk11RYdf5N7iqWvdfKDS4L I51ZJ/HWrZr6LSkwk7xstFAl8gWk7oap6Uykc+qysjOHAqXiI/2KsTTj7NbnfGUW9C LDquQBFOzE6OIPi7QppMq6dPE+f9yjPK8EhVAKDA= From: Greg Kroah-Hartman To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Mike Rapoport , Andrew Morton Subject: [PATCH] mm: no need to export mm_kobj Date: Fri, 4 Aug 2023 08:43:37 +0200 Message-ID: <2023080436-algebra-cabana-417d@gregkh> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=635; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4rXtZPtL5oQZoxxNsOTexNzySBfq8KQl2Tp+f+M43vA=; b=owGbwMvMwCRo6H6F97bub03G02pJDCln5kkab1xX61B1Jthu+6bgxwxmiar+5n8kl59tbr49c 8UyhsS8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjID1mGBWvDKor1cw1ndDyP CDxgeEVxZsgjB4b5npMZMkOvesVecLFIOr3yQMz8ihsPAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 X-Rspam-User: X-Stat-Signature: nxmipkkz4nw4a1a3dpqzh3sfbo1hw4jk X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: EE63780003 X-HE-Tag: 1691131423-454484 X-HE-Meta: U2FsdGVkX18vD8j46BG2WV6V1arjOnwjDPubWvKKVou9dCupWwojk/D7M8FWZuzx4iIQbk0Tf5AslXJFe+Dh2HcQD4Hd0KnbMwt14vyIMbY1yWQW3E61F7290AZS/rv/UeVYLhK0k7H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u6RdHEtm+TnlTf/JcQHrIzBuHLuEqK0Ou3yPfi7vjYROhjNOGQ+JAK9J8M2+zJ4w/LeWOUHysdcAFfqEpYAtWlPjEGT7i5H7Z7Ju+HTGWDyF89cCurdubXdQOSIKA78LsNFkZuV3j5BdWw2Tiafv5INabLUaoHXhK8dvImLHcHU3T4yvJRzqaGm69w7pB6n7tzzZYNHYkSH7i2xjXC/9Ueh5+0VdiA0fcRhXb X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: There are no modules using mm_kobj, so do not export it. Cc: Mike Rapoport Cc: Andrew Morton Signed-off-by: Greg Kroah-Hartman Reviewed-by: Mike Rapoport (IBM) Reviewed-by: Miaohe Lin Reviewed-by: David Hildenbrand --- mm/mm_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/mm_init.c b/mm/mm_init.c index a1963c3322af..1c9d6f428906 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -154,7 +154,6 @@ early_param("mminit_loglevel", set_mminit_loglevel); #endif /* CONFIG_DEBUG_MEMORY_INIT */ struct kobject *mm_kobj; -EXPORT_SYMBOL_GPL(mm_kobj); #ifdef CONFIG_SMP s32 vm_committed_as_batch = 32;