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)
commit8dfa9d554061873f96335730fb1d403698b2b1b4
tree612a468f0c3722d51b209151bc99dc2d92e02ba7
parent2c1d697fb8ba6d2d44f914d4268ae1ccdf025f1b
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