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

Andrew Morton (akpm@digeo.com)
Thu, 22 May 2003 03:15:38 -0700


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/