--- zzzz-none-000/linux-2.6.39.4/arch/x86/include/asm/apic.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/arch/x86/include/asm/apic.h 2021-11-10 13:23:10.000000000 +0000 @@ -513,7 +513,7 @@ extern struct apic apic_default; -static inline int noop_x86_32_early_logical_apicid(int cpu) +static inline int noop_x86_32_early_logical_apicid(int cpu __attribute__((unused))) { return BAD_APICID; }