]> www.infradead.org Git - users/jedix/linux-maple.git/commit
shmem: include header file to declare swap_info
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 23 Aug 2021 23:59:11 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:33:46 +0000 (09:33 +1000)
commita7244343784bcb823f0165e629b33a7f4b92ccea
tree0956bc8cf2d978565973d78824e8f9c8e3659b18
parentc5da862beb8f694b55c4cd9ae617c9407ccf6224
shmem: include header file to declare swap_info

It's bad to extern swap_info[] in .c.  Include corresponding header file
instead.

Link: https://lkml.kernel.org/r/20210812120350.49801-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/shmem.c