提交 57a5f3c9 编写于 作者: P Peter Jones 提交者: Konrad Rzeszutek Wilk

ibft: Use IBFT_SIGN instead of open-coding the search string.

We define IBFT_SIGN to "iBFT"; may as well use it.
Signed-off-by: NKonrad Rzeszutek Wilk <konrad@kernel.org>
Signed-off-by: NPeter Jones <pjones@redhat.com>
上级 b33a84a3
...@@ -100,7 +100,7 @@ unsigned long __init find_ibft_region(unsigned long *sizep) ...@@ -100,7 +100,7 @@ unsigned long __init find_ibft_region(unsigned long *sizep)
if (!ibft_addr) if (!ibft_addr)
acpi_table_parse(ACPI_SIG_IBFT, acpi_find_ibft); acpi_table_parse(ACPI_SIG_IBFT, acpi_find_ibft);
if (!ibft_addr) if (!ibft_addr)
acpi_table_parse("iBFT", acpi_find_ibft); acpi_table_parse(IBFT_SIGN, acpi_find_ibft);
#endif /* CONFIG_ACPI */ #endif /* CONFIG_ACPI */
/* iBFT 1.03 section 1.4.3.1 mandates that UEFI machines will /* iBFT 1.03 section 1.4.3.1 mandates that UEFI machines will
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册