Skip to content

Commit c8dcf65

Browse files
mcgrofgregkh
authored andcommitted
x86/build: Tuck away built-in firmware under FW_LOADER
When FW_LOADER is modular or disabled we don't use it. Update x86 relocs to reflect that. Reviewed-by: Borislav Petkov <bp@suse.de> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211021155843.1969401-7-mcgrof@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 771856c commit c8dcf65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/tools/relocs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ static const char * const sym_regex_kernel[S_NSYMTYPES] = {
6363
"(__parainstructions|__alt_instructions)(_end)?|"
6464
"(__iommu_table|__apicdrivers|__smp_locks)(_end)?|"
6565
"__(start|end)_pci_.*|"
66+
#if CONFIG_FW_LOADER_BUILTIN
6667
"__(start|end)_builtin_fw|"
68+
#endif
6769
"__(start|stop)___ksymtab(_gpl)?|"
6870
"__(start|stop)___kcrctab(_gpl)?|"
6971
"__(start|stop)___param|"

0 commit comments

Comments
 (0)