netdev
[Top] [All Lists]

Re: [PATCH] ibmtr - get rid of MOD_INC/DEC

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [PATCH] ibmtr - get rid of MOD_INC/DEC
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Fri, 15 Aug 2003 09:30:05 -0400
Cc: Stephen Hemminger <shemminger@xxxxxxxx>, mikep@xxxxxxxxxxx, linux-tr@xxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030814205747.5fcd83d0.davem@xxxxxxxxxx>
Organization: none
References: <20030813174658.2c5125af.shemminger@xxxxxxxx> <20030814205747.5fcd83d0.davem@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021213 Debian/1.2.1-2.bunk
David S. Miller wrote:
On Wed, 13 Aug 2003 17:46:58 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:


With the new module system MOD_INC/MOD_DEC are no longer necessary.
Also changed to new module init/exit macros for function setup.

The module exit code can sleep, so calling schedule_timeout is better
than spinning.


Can't we lose the MODULE ifdefs too?


Doubtful for ibmtr, which requires some of them for ibmtr_cs (which #includes it).

        Jeff




<Prev in Thread] Current Thread [Next in Thread>