lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: the creation of boot_cpu_init() is wrong and accessing uninitialised data
    Date
    Andrew Morton (on Mon, 26 Jun 2006 22:03:37 -0700) wrote:
    >It's a bit odd - I think non-zero BSPs happen a bit more often than
    >only-on-voyager.

    AFAICR, the BSP is supposed to be logical cpu 0 on all architectures.
    Most architectures assign logical cpu 0 to the BSP, even if the BSP has
    a non-zero hard_smp_processor_id. ia64 even has this

    int __cpu_disable(void)
    {
    int cpu = smp_processor_id();

    /*
    * dont permit boot processor for now
    */
    if (cpu == 0 && !bsp_remove_ok) {

    -
    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: 2006-06-27 15:02    [W:2.923 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site