diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-05-06 12:37:50 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-09-19 12:19:35 +0300 |
commit | 514377d8a7da608ce618cdbeb5a2110a5a5178fc (patch) | |
tree | 69e002289d8ec8c426659a0a224e941c9b9b9dd9 /drivers/firmware/efi/libstub/systable.c | |
parent | c82ceb440b886cc0f3945b6db979c49c48a4af29 (diff) | |
download | linux-514377d8a7da608ce618cdbeb5a2110a5a5178fc.tar.xz |
efi/libstub: move efi_system_table global var into separate object
To avoid pulling in the wrong object when using the libstub static
library to build the decompressor, define efi_system_table in a separate
compilation unit.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/systable.c')
-rw-r--r-- | drivers/firmware/efi/libstub/systable.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/systable.c b/drivers/firmware/efi/libstub/systable.c new file mode 100644 index 000000000000..91d016b02f8c --- /dev/null +++ b/drivers/firmware/efi/libstub/systable.c @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include <linux/efi.h> +#include <asm/efi.h> + +#include "efistub.h" + +const efi_system_table_t *efi_system_table; |