[lkml]   [2001]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.4.0-Prerelease :smp_num_cpus undefined while compiling without smp for Athlon
    Look at include/linux/smp.h: on SMP, it includes <asm/smp.h>, on UP it
    contains a

    #define smp_num_cpus 1

    I assume that someone directly includes <asm/smp.h>.

    Try to add a

    #ifndef __LINUX_SMP_H
    #error Found it!

    to the beginning of <asm-alpha/smp.h>

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.018 / U:155.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site