[PATCH 2/10] safe_apic_wait_icr_idle - x86_64

Andi Kleen ak at suse.de
Wed Apr 25 08:26:14 EDT 2007


>  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



More information about the kexec mailing list