From: 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. Signed-off-by: Rik van Riel Signed-off-by: Andrew Morton --- include/asm-ppc64/rwsem.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/asm-ppc64/rwsem.h~add-sem_is_read-write_locked-fix-3 include/asm-ppc64/rwsem.h --- devel/include/asm-ppc64/rwsem.h~add-sem_is_read-write_locked-fix-3 2005-09-06 16:47:35.000000000 -0700 +++ devel-akpm/include/asm-ppc64/rwsem.h 2005-09-06 16:47:35.000000000 -0700 @@ -163,7 +163,7 @@ static inline int rwsem_atomic_update(in return atomic_add_return(delta, (atomic_t *)(&sem->count)); } -static inline int sem_is_read_locked(struct rw_semaphore *sem) +static inline int rwsem_is_locked(struct rw_semaphore *sem) { return (sem->count != 0); } _