]> git.baikalelectronics.ru Git - kernel.git/commitdiff
x86/build: Use the proper name CONFIG_FW_LOADER
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 29 Dec 2021 11:15:53 +0000 (12:15 +0100)
committerBorislav Petkov <bp@suse.de>
Wed, 29 Dec 2021 21:20:38 +0000 (22:20 +0100)
Commit in Fixes intends to add the expression regex only when FW_LOADER
is enabled - not FW_LOADER_BUILTIN. Latter is a leftover from a previous
patchset and not a valid config item.

So, adjust the condition to the actual name of the config.

  [ bp: Cleanup commit message. ]

Fixes: 70b7f9d457f3 ("x86/build: Tuck away built-in firmware under FW_LOADER")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20211229111553.5846-1-lukas.bulwahn@gmail.com
arch/x86/tools/relocs.c

index c736cf2ac76b4cbda6b7a481612b014dcf8f3747..e2c5b296120d65a45d7a0541b999c65b406c6cf9 100644 (file)
@@ -68,7 +68,7 @@ static const char * const sym_regex_kernel[S_NSYMTYPES] = {
        "(__parainstructions|__alt_instructions)(_end)?|"
        "(__iommu_table|__apicdrivers|__smp_locks)(_end)?|"
        "__(start|end)_pci_.*|"
-#if CONFIG_FW_LOADER_BUILTIN
+#if CONFIG_FW_LOADER
        "__(start|end)_builtin_fw|"
 #endif
        "__(start|stop)___ksymtab(_gpl)?|"