Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Daniel Walker
On Mon, 2007-12-03 at 17:47 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-12-03 at 16:57 +0100, Ingo Molnar wrote: > > > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > > > > > Changed the isapnp semaphore to a mutex. > > > > > > cool - i'll give it a

Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Daniel Walker
On Mon, 2007-12-03 at 20:11 +0100, Michal Schmidt wrote: > Dne Mon, 03 Dec 2007 10:35:01 -0800 > Daniel Walker <[EMAIL PROTECTED]> napsal(a): > > > Speaking of automating.. I created a little .vimrc add-on which helps > > doing sem2mutex type changes. Here's the chunk I added, > > > > functio

Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Michal Schmidt
Dne Mon, 03 Dec 2007 10:35:01 -0800 Daniel Walker <[EMAIL PROTECTED]> napsal(a): > Speaking of automating.. I created a little .vimrc add-on which helps > doing sem2mutex type changes. Here's the chunk I added, > > function Semtomutex( lo ) > exe '%s/down(&'.a:lo.')/mutex_lock\(\&'.a:

Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Daniel Walker
On Mon, 2007-12-03 at 17:47 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-12-03 at 16:57 +0100, Ingo Molnar wrote: > > > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > > > > > Changed the isapnp semaphore to a mutex. > > > > > > cool - i'll give it a

Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > On Mon, 2007-12-03 at 16:57 +0100, Ingo Molnar wrote: > > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > > > Changed the isapnp semaphore to a mutex. > > > > cool - i'll give it a whirl. > > > > small immaterial nit: > > > > > Signed-Off-By: Dani

Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Daniel Walker
On Mon, 2007-12-03 at 16:57 +0100, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > Changed the isapnp semaphore to a mutex. > > cool - i'll give it a whirl. > > small immaterial nit: > > > Signed-Off-By: Daniel Walker <[EMAIL PROTECTED]> > > it's Signed-off-by (note the c

Re: [PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > Changed the isapnp semaphore to a mutex. cool - i'll give it a whirl. small immaterial nit: > Signed-Off-By: Daniel Walker <[EMAIL PROTECTED]> it's Signed-off-by (note the capitalization). Having this consistent makes scripting around patches a ti

[PATCH] isapnp driver semaphore to mutex

2007-12-03 Thread Daniel Walker
Changed the isapnp semaphore to a mutex. Signed-Off-By: Daniel Walker <[EMAIL PROTECTED]> --- drivers/pnp/interface.c | 11 ++- drivers/pnp/manager.c | 19 ++- 2 files changed, 16 insertions(+), 14 deletions(-) Index: linux-2.6.23/drivers/pnp/interface.c ==