X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-um%2Fsmp.h;h=f27a963131741ba935f80ec424c9b4c413ae63d4;hb=2351ec533ed0dd56052ab96988d2161d5ecc8ed9;hp=ca552261ed1fcee5c3493830d2903e9754bcc3a3;hpb=66643de455c27973ac31ad6de9f859d399916842;p=linux-2.6 diff --git a/include/asm-um/smp.h b/include/asm-um/smp.h index ca552261ed..f27a963131 100644 --- a/include/asm-um/smp.h +++ b/include/asm-um/smp.h @@ -18,12 +18,16 @@ extern int hard_smp_processor_id(void); extern int ncpus; -extern inline void smp_cpus_done(unsigned int maxcpus) +static inline void smp_cpus_done(unsigned int maxcpus) { } extern struct task_struct *idle_threads[NR_CPUS]; +#else + +#define hard_smp_processor_id() 0 + #endif #endif