Re: [PATCH 2/10] safe_apic_wait_icr_idle - x86_64

From: Andi Kleen
Date: Wed Apr 25 2007 - 08:34:18 EST



> static __inline__ void apic_wait_icr_idle(void)
> {
> - while (apic_read( APIC_ICR ) & APIC_ICR_BUSY)
> + while (apic_read(APIC_ICR) & APIC_ICR_BUSY)
> cpu_relax();
> }
>
> +static __inline__ unsigned int safe_apic_wait_icr_idle(void)

This should be probably not inline -- too large

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/