lkml.org 
[lkml]   [2004]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix 4k irqstacks on x86 (and add voyager support)
On Thu, 15 Apr 2004, James Bottomley wrote:

> There's a bug in the x86 code in that it sets the boot CPU to zero.
> This isn't correct since some subarch's use physically indexed CPUs.
> However, subarchs have either set the boot cpu before irq_INIT() (or
> just inherited the default zero from INIT_THREAD_INFO()), so it's safe
> to believe current_thread_info()->cpu about the boot cpu.

There is also smp_boot_cpus() which sets it to zero yet again later on =)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.042 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site