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

From: Andrew Morton (akpm@digeo.com)
Date: Thu May 22 2003 - 05:15:38 EST


I'll give this a run on the ppc64 tomorrow.

Rusty Russell <rusty@rustcorp.com.au> wrote:
>
> +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.

-
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:48 EST