OSDN Git Service

powerpc: make 'boot_text_mapped' static
authorYu Kuai <yukuai3@huawei.com>
Thu, 8 Apr 2021 01:18:01 +0000 (09:18 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 May 2022 09:37:43 +0000 (19:37 +1000)
commit2b6ff203cd45ba3018fe84affdac93ef07e1db3d
tree840c7fff0e96cd031bdf8a2800d1ef35332fe96c
parentb396dd3d800c1374973c8fb901cb7e3a1439c8b6
powerpc: make 'boot_text_mapped' static

The sparse tool complains as follow:

arch/powerpc/kernel/btext.c:48:5: warning:
 symbol 'boot_text_mapped' was not declared. Should it be static?

This symbol is not used outside of btext.c, so this commit make
it static.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210408011801.557004-3-yukuai3@huawei.com
arch/powerpc/kernel/btext.c