]> git.baikalelectronics.ru Git - kernel.git/commit
mm/slab_common: move declaration of __ksize() to mm/slab.h
authorHyeonggon Yoo <42.hyeyoo@gmail.com>
Wed, 17 Aug 2022 10:18:25 +0000 (19:18 +0900)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 1 Sep 2022 09:44:39 +0000 (11:44 +0200)
commit58aa5f3b7e26f9e391c59782e53bce4ab97f629c
tree612a468f0c3722d51b209151bc99dc2d92e02ba7
parent307520cd9e6fcb9572cfdb8e3ed4f43f135c92b6
mm/slab_common: move declaration of __ksize() to mm/slab.h

__ksize() is only called by KASAN. Remove export symbol and move
declaration to mm/slab.h as we don't want to grow its callers.

Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/slab.h
mm/slab.h
mm/slab_common.c
mm/slob.c