The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: kiran@in.ibm.com, dipankar@in.ibm.com,
	linux-kernel@vger.kernel.org, davidm@hpl.hp.com
Subject: Re: [PATCH] per-cpu support inside modules (minimal)
Date: Thu, 22 May 2003 03:15:38 -0700	[thread overview]
Message-ID: <20030522031538.2cd124b8.akpm@digeo.com> (raw)
In-Reply-To: <20030522100511.751E02C0F1@lists.samba.org>


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.






  reply	other threads:[~2003-05-22  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22 10:04 [PATCH] per-cpu support inside modules (minimal) Rusty Russell
2003-05-22 10:15 ` Andrew Morton [this message]
2003-05-22 23:51   ` Rusty Russell
2003-05-22 18:39 ` David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030522031538.2cd124b8.akpm@digeo.com \
    --to=akpm@digeo.com \
    --cc=davidm@hpl.hp.com \
    --cc=dipankar@in.ibm.com \
    --cc=kiran@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox