acpi: Provide ia64 dummy implementation of acpi_proc_quirk_mwait_check()
authorArd Biesheuvel <ardb@kernel.org>
Sun, 3 Sep 2023 22:23:25 +0000 (22:23 +0000)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 11 Sep 2023 08:13:17 +0000 (08:13 +0000)
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>
arch/ia64/kernel/acpi.c

index 15f6cfddcc080b47693f2b6212d4ca5fab6bf3e0..41e8fe55cd9845f2c0e285e5db888915705d9b0d 100644 (file)
@@ -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)
+{
+}