Re: [PATCH] per-cpu support inside modules (minimal)

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Thu May 22 2003 - 18:51:28 EST


In message <20030522031538.2cd124b8.akpm@digeo.com> you write:
> > +static inline unsigned int abs(int val)
> > +{
> > + if (val < 0)
> > + return -val;
> > + return val;
> > +}
>
> Several architectures define their own abs() in asm/system.h which
> return signed int.

Hmm, it's actually declated that way in linux/kernel.h, too:

        extern int abs(int);

But AFAICT it's never actually defined.

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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:52 EST