lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 30 Apr 2008 20:13:32 +0200
FromIngo Molnar <>
SubjectRe: Problems with -git14
* Hugh Dickins <hugh@veritas.com> wrote:

>  static inline int cpu_present_to_apicid(int mps_cpu)
>  {
> -#ifdef CONFIG_X86_64
> -	if (cpu_present(mps_cpu))
> +	if (mps_cpu < NR_CPUS && cpu_present(mps_cpu))
>  		return (int)per_cpu(x86_bios_cpu_apicid, mps_cpu);
> -#else
> -	if (mps_cpu < get_physical_broadcast())
> -		return  mps_cpu;
> -#endif
>  	else
>  		return BAD_APICID;
>  }

applied. Thanks Hugh for the detective work! I love fixes that only 
remove code ;-)

	Ingo


\
 
 \ /
  Last update: 2008-04-30 20:17    [from the cache]
©2003-2008