x86/sev: Make boot_ghcb_page[] static
authorGUO Zihua <guozihua@huawei.com>
Wed, 2 Aug 2023 02:14:36 +0000 (10:14 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 3 Oct 2023 13:31:27 +0000 (15:31 +0200)
commitbfb32e2008e278507bd93bff91662422d9cda9da
tree61c031efeae59a2c06b24e4d4aa2def0e3a4007b
parent3e32552652917f10c0aa8ac75cdc8f0b8d257dec
x86/sev: Make boot_ghcb_page[] static

boot_ghcb_page is not used by any other file, so make it static.

This also resolves sparse warning:

  arch/x86/boot/compressed/sev.c:28:13: warning: symbol 'boot_ghcb_page' was not declared. Should it be static?

Signed-off-by: GUO Zihua <guozihua@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org
arch/x86/boot/compressed/sev.c