Re: [PATCH][1/2] fix for -mm add-sem_is_read-write_locked.patch

2005-09-05 Thread Rik van Riel
On Mon, 5 Sep 2005, David Howells wrote: > | Index: linux-2.6.13/include/asm-ppc64/rwsem.h > This uses the function wrong name. And: I really shouldn't make patches like this in the morning on weekends, when I'm still sleepy. Well, here is the trivial fix... Signed-off-by: Rik van Riel <[EMAI

Re: [PATCH][1/2] fix for -mm add-sem_is_read-write_locked.patch

2005-09-05 Thread Rik van Riel
On Mon, 5 Sep 2005, David Howells wrote: > The comment attached to the drop-in replacement patch is wrong: Indeed it is. Good thing Andrew doesn't seem to have dropped it in ;) > | +static inline int sem_is_read_locked(struct rw_semaphore *sem) > | +{ > | + return (sem->count != 0); > | +} >

Re: [PATCH][1/2] fix for -mm add-sem_is_read-write_locked.patch

2005-09-05 Thread David Howells
Rik van Riel <[EMAIL PROTECTED]> wrote: > Here is an incremental fix to the add-sem_is_read-write_locked > patch in -mm. Also attached is a full version of that file, > which can just be dropped into place - I've verified that none > of the patches in your stack get rejects. The comment attached

[PATCH][1/2] fix for -mm add-sem_is_read-write_locked.patch

2005-09-03 Thread Rik van Riel
Hi Andrew, Here is an incremental fix to the add-sem_is_read-write_locked patch in -mm. Also attached is a full version of that file, which can just be dropped into place - I've verified that none of the patches in your stack get rejects. The reason for this change is that a lock that's held for