lkml.org 
[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.5.32-mm1
Date
In message <3D6CFE97.DA554FA9@zip.com.au> you write:
> Heinz Diehl wrote:
> >
> > ...
> > fs/fs.o(.text+0x5932): undefined reference to cpu_possible'
>
> Bah. Sorry about that. cpu_possible() appears to be undefined
> for uniprocessor builds.

Yes.

> +
> +#define cpu_possible(cpu) ((cpu) == 0)
> +

This is fine: techically it's:
BUG_ON(cpu != 0);

Since you can never invoke cpu_possible(cpu) or cpu_online(cpu) for
cpu >= NR_CPUS.

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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 13:28    [W:0.042 / U:14.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site