Re: linux-next: Tree for Jan 5 (cpufreq/amd-pstate)

From: Huang Rui
Date: Wed Jan 05 2022 - 21:23:06 EST


On Thu, Jan 06, 2022 at 10:19:14AM +0800, Randy Dunlap wrote:
>
>
> On 1/5/22 00:12, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20220104:
> >
> > The pm tree lost its build failure.
> >
>
> on i386 and x86_64:
> # CONFIG_ACPI is not set
>
> In file included from ../drivers/cpufreq/amd-pstate.c:40:0:
> ../include/acpi/processor.h:226:2: error: unknown type name ‘phys_cpuid_t’
> phys_cpuid_t phys_id; /* CPU hardware ID such as APIC ID for x86 */
> ^~~~~~~~~~~~
> ../include/acpi/processor.h:355:1: error: unknown type name ‘phys_cpuid_t’; did you mean ‘phys_addr_t’?
> phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
> ^~~~~~~~~~~~
> phys_addr_t
> CC drivers/rtc/rtc-rv3029c2.o
> ../include/acpi/processor.h:356:1: error: unknown type name ‘phys_cpuid_t’; did you mean ‘phys_addr_t’?
> phys_cpuid_t acpi_map_madt_entry(u32 acpi_id);
> ^~~~~~~~~~~~
> phys_addr_t
> ../include/acpi/processor.h:357:20: error: unknown type name ‘phys_cpuid_t’; did you mean ‘phys_addr_t’?
> int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
> ^~~~~~~~~~~~
> phys_addr_t
>

Thanks to report this, let me take a look.

Ray