Re: [PATCH] Use __always_inline in orinoco_lock()/orinoco_unlock()

2006-08-15 Thread David Miller
From: Pavel Roskin <[EMAIL PROTECTED]> Date: Tue, 15 Aug 2006 19:14:32 -0400 > On Tue, 2006-08-15 at 15:54 -0700, David Miller wrote: > > > > /* These functions *must* be inline or they will break horribly on > > > > - * SPARC, due to its weird semantics for save/restore flags. extern > > > >

Re: [PATCH] Use __always_inline in orinoco_lock()/orinoco_unlock()

2006-08-15 Thread Pavel Roskin
On Tue, 2006-08-15 at 15:54 -0700, David Miller wrote: > > > /* These functions *must* be inline or they will break horribly on > > > - * SPARC, due to its weird semantics for save/restore flags. extern > > > - * inline should prevent the kernel from linking or module from > > > - * loading if

Re: [PATCH] Use __always_inline in orinoco_lock()/orinoco_unlock()

2006-08-15 Thread David Miller
From: Dave Jones <[EMAIL PROTECTED]> Date: Tue, 15 Aug 2006 18:50:12 -0400 > On Tue, Aug 15, 2006 at 03:25:58PM -0400, Pavel Roskin wrote: > > > diff --git a/drivers/net/wireless/orinoco.h > b/drivers/net/wireless/orinoco.h > > index 16db3e1..8fd9b32 100644 > > --- a/drivers/net/wireless/orin

Re: [PATCH] Use __always_inline in orinoco_lock()/orinoco_unlock()

2006-08-15 Thread Dave Jones
On Tue, Aug 15, 2006 at 03:25:58PM -0400, Pavel Roskin wrote: > diff --git a/drivers/net/wireless/orinoco.h b/drivers/net/wireless/orinoco.h > index 16db3e1..8fd9b32 100644 > --- a/drivers/net/wireless/orinoco.h > +++ b/drivers/net/wireless/orinoco.h > @@ -135,11 +135,9 @@ extern irqreturn_t

[PATCH] Use __always_inline in orinoco_lock()/orinoco_unlock()

2006-08-15 Thread Pavel Roskin
From: Pavel Roskin <[EMAIL PROTECTED]> This is exactly the case when they are needed. This also fixed a warning with -Wmissing-prototypes Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> --- drivers/net/wireless/orinoco.h | 12 +--- 1 fil