netdev
[Top] [All Lists]

Re: [PATCH] remove sdla from setup.c

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: [PATCH] remove sdla from setup.c
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Date: Thu, 29 May 2003 12:36:25 -0300
Cc: hch@xxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20030529.025749.59658664.davem@redhat.com>
Organization: Conectiva S.A.
References: <20030528110658.GA26411@lst.de> <20030529.025749.59658664.davem@redhat.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.4i
Em Thu, May 29, 2003 at 02:57:49AM -0700, David S. Miller escreveu:
>    From: Christoph Hellwig <hch@xxxxxx>
>    Date: Wed, 28 May 2003 13:06:58 +0200
> 
>    sdla had calls from both Space.c and setup.c.  Leave the Space.c one
>    alone as per previous discussion but move over the setup.c one to
>    initcalls.  (and remove the prototype for a third one from setup.c!)
>    
> Looks ok, applied.
> 
> Some of this wan driver stuff is so crappy :(

Crappy? You are being nice...

What about this:

void lock_adapter_irq(spinlock_t *lock, unsigned long *smp_flags)
{
        spin_lock_irqsave(lock, *smp_flags);
}

Why the hell do we need a bogus wrapper for something so standard?

:-(

- Arnaldo

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