summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-09-04 00:23:25 +0200
committerArd Biesheuvel <ardb@kernel.org>2023-09-11 10:13:17 +0200
commita0334bf78b95532cec54f56b53e8ae1bfe7e1ca1 (patch)
tree7af53187dd0c2c311c12649a1630f9885f16eaed
parentLinux 6.6-rc1 (diff)
downloadlinux-a0334bf78b95532cec54f56b53e8ae1bfe7e1ca1.tar.xz
linux-a0334bf78b95532cec54f56b53e8ae1bfe7e1ca1.zip
acpi: Provide ia64 dummy implementation of acpi_proc_quirk_mwait_check()
Commit 0a0e2ea642f6 ("ACPI: processor: Move MWAIT quirk out of acpi_processor.c") moved the MWAIT quirk code into arch/x86 but left calls to it in the ACPI PDC processor code that is shared with Itanium, breaking the latter build. Since the quirk is specific to a certain x86-based platform, stub out the function acpi_proc_quirk_mwait_check() when building for ia64. Fixes: 0a0e2ea642f6 ("ACPI: processor: Move MWAIT quirk out of acpi_processor.c") Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
-rw-r--r--arch/ia64/kernel/acpi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index 15f6cfddcc08..41e8fe55cd98 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -907,3 +907,7 @@ EXPORT_SYMBOL(acpi_unregister_ioapic);
* TBD when IA64 starts to support suspend...
*/
int acpi_suspend_lowlevel(void) { return 0; }
+
+void acpi_proc_quirk_mwait_check(void)
+{
+}