mm: no need to export mm_kobj
PATCH 1/1 mm: no need to export mm_kobj
There are no modules using mm_kobj, so do not export it.
Cc Mike Rapoport <[email protected]>
Cc Andrew Morton <[email protected]>
Signed-off-by Greg Kroah-Hartman <[email protected]>
--- mm/mm_init.c | 1 - 1 file changed, 1 deletion(-)
mm/mm_init.c +0 -1
@@ -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 ;
Signature · 1 line
2.41.0
Quoted 5 lines · Greg Kroah-Hartman
There are no modules using
mm_kobj, so do not export it.Cc Mike Rapoport <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Reviewed-by Mike Rapoport (IBM) <[email protected]>
Quoted 19 lines
--- mm/mm_init.c | 1 - 1 file changed, 1 deletion(-)mm/mm_init.c +0
-1@@ -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 ;Signature · 1 line
2.41.0
Signature · 2 lines
Sincerely yours, Mike.
Quoted 1 line · Greg Kroah-Hartman
There are no modules using
mm_kobj, so do not export it.
Yes, there's only in-kernel user left.
Reviewed-by Miaohe Lin <[email protected]>
Thanks.
Quoted 21 lines
Cc Mike Rapoport <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- mm/mm_init.c | 1 - 1 file changed, 1 deletion(-)mm/mm_init.c +0
-1@@ -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 ;
Quoted 14 lines · Greg Kroah-Hartman
There are no modules using
mm_kobj, so do not export it.Cc Mike Rapoport <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- mm/mm_init.c | 1 - 1 file changed, 1 deletion(-)mm/mm_init.c +0
-0
mm/mm_init.c early_param("mminit_loglevel", set_mminit_loglevel); · line 159
Quoted 7 lines
mm/mm_init.c +0
-1@@ -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 ;
Reviewed-by David Hildenbrand <[email protected]>
Signature · 3 lines
Cheers, David / dhildenb