Re: [PATCH v1] ACPI: Declare acpi_blacklisted() only if CONFIG_X86 is enabled

From: Andy Shevchenko
Date: Tue Apr 23 2024 - 09:02:46 EST


On Mon, Apr 22, 2024 at 06:37:59PM +0200, Rafael J. Wysocki wrote:
> On Sun, Apr 7, 2024 at 8:33 AM Kuppuswamy Sathyanarayanan
> <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx> wrote:

..

> Applied (as 6.10 material), but it looks to me like this declaration
> could be moved away from this header file at all, as the function is
> only used in one place in arch-x86 code.

Yes, we probably may move it to asm/acpi.h for x86.

I don't remember if I ever expressed that idea, but I definitely was thinking
about this.

--
With Best Regards,
Andy Shevchenko