summaryrefslogtreecommitdiff
path: root/fs/erofs/pcpubuf.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-03-03 09:37:31 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2023-03-09 17:49:30 +0300
commita279adedbb5206ccadb6b2817838cbb1c834133d (patch)
tree0f6f873409a104e8e29fef41581b9ad8f7a97a9e /fs/erofs/pcpubuf.c
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-a279adedbb5206ccadb6b2817838cbb1c834133d.tar.xz
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;