summaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 08:43:37 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 13:37:40 -0700
commitdbdd2a989f2357d40f0c5a440ca81bf1390f11ba (patch)
tree8abd3fdb0e72f63cedf76a0537fd0a0846f2ba2f /mm/mm_init.c
parent9cf6a060f95578c8147bdacdf55a1eaaa182ce49 (diff)
mm: no need to export mm_kobj
There are no modules using mm_kobj, so do not export it. Link: https://lkml.kernel.org/r/2023080436-algebra-cabana-417d@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mm_init.c')
-rw-r--r--mm/mm_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/mm_init.c b/mm/mm_init.c
index 641c56fd08a2..a2fbaa8d917f 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;