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

From: Kuppuswamy Sathyanarayanan
Date: Mon Apr 29 2024 - 00:06:47 EST



On 4/23/24 6:02 AM, Andy Shevchenko wrote:
> 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.
>

Makes sense. I have moved it to asm/acpi.h

https://lore.kernel.org/lkml/20240429040441.748479-1-sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx/T/#u

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer