summaryrefslogtreecommitdiffstats
path: root/fs/erofs/pcpubuf.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-03-03 07:37:31 +0100
committerGao Xiang <hsiangkao@linux.alibaba.com>2023-03-09 15:49:30 +0100
commita279adedbb5206ccadb6b2817838cbb1c834133d (patch)
tree0f6f873409a104e8e29fef41581b9ad8f7a97a9e /fs/erofs/pcpubuf.c
parentLinux 6.3-rc1 (diff)
downloadlinux-a279adedbb5206ccadb6b2817838cbb1c834133d.tar.xz
linux-a279adedbb5206ccadb6b2817838cbb1c834133d.zip
erofs: mark z_erofs_lzma_init/erofs_pcpubuf_init w/ __init
They are used during the erofs module init phase. Let's mark it as __init like any other function. Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Yue Hu <huyue2@coolpad.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20230303063731.66760-1-frank.li@vivo.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/pcpubuf.c')
-rw-r--r--fs/erofs/pcpubuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/pcpubuf.c b/fs/erofs/pcpubuf.c
index a2efd833d1b6..c7a4b1d77069 100644
--- a/fs/erofs/pcpubuf.c
+++ b/fs/erofs/pcpubuf.c
@@ -114,7 +114,7 @@ out:
return ret;
}
-void erofs_pcpubuf_init(void)
+void __init erofs_pcpubuf_init(void)
{
int cpu;