The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Andrew Morton <akpm@digeo.com>
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: Fri, 23 May 2003 09:51:28 +1000	[thread overview]
Message-ID: <20030523014452.8D89D2C05E@lists.samba.org> (raw)
In-Reply-To: Your message of "Thu, 22 May 2003 03:15:38 MST." <20030522031538.2cd124b8.akpm@digeo.com>

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.

  reply	other threads:[~2003-05-23  1:31 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
2003-05-22 23:51   ` Rusty Russell [this message]
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=20030523014452.8D89D2C05E@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@digeo.com \
    --cc=davidm@hpl.hp.com \
    --cc=dipankar@in.ibm.com \
    --cc=kiran@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /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