diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-04 08:43:37 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 22:37:40 +0200 |
commit | dbdd2a989f2357d40f0c5a440ca81bf1390f11ba (patch) | |
tree | 8abd3fdb0e72f63cedf76a0537fd0a0846f2ba2f /mm/mm_init.c | |
parent | arm64: hugetlb: enable __HAVE_ARCH_FLUSH_HUGETLB_TLB_RANGE (diff) | |
download | linux-dbdd2a989f2357d40f0c5a440ca81bf1390f11ba.tar.xz linux-dbdd2a989f2357d40f0c5a440ca81bf1390f11ba.zip |
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.c | 1 |
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; |