All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Dave Jones <davej@suse.de>, Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] __devexit_p macro
Date: Fri, 02 Aug 2002 23:54:50 +1000	[thread overview]
Message-ID: <3766.1028296490@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Fri, 02 Aug 2002 23:46:39 +1000." <3483.1028295999@ocs3.intra.ocs.com.au>

On Fri, 02 Aug 2002 23:46:39 +1000, 
Keith Owens <kaos@ocs.com.au> wrote:
>On Fri, 2 Aug 2002 14:33:49 +0200, 
>Dave Jones <davej@suse.de> wrote:
>>On Fri, Aug 02, 2002 at 09:24:56AM +0000, Felipe W Damasio wrote:
>> > +#ifdef MODULE || CONFIG_HOTPLUG
>> > +#define __devexit_p(x)  &(x)
>> > +#else
>> >  #define __devexit_p(x)  0
>> >  #endif
>>
>>Instead of making this a maze of #if/else's, you can acheive
>>the same effect with the following patch that has been in my
>>tree for a few months.. (hand pasted, may not apply cleanly)
>
>Better still, copy the end of 2.5.19-rc5/include/linux/init.h to

Duh, that should be 2.4.19-rc5 of course.

>2.5.30, from #ifdef CONFIG_HOTPLUG onwards.  There is no point in
>having slight differences between the 2.4 and 2.5 versions, ATM they
>should be the same.


      reply	other threads:[~2002-08-02 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02  9:24 [PATCH] __devexit_p macro Felipe W Damasio
2002-08-02 12:33 ` Dave Jones
2002-08-02 13:46   ` Keith Owens
2002-08-02 13:54     ` Keith Owens [this message]

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=3766.1028296490@ocs3.intra.ocs.com.au \
    --to=kaos@ocs.com.au \
    --cc=davej@suse.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.