2001-02-06 16:36:45

by André Dahlqvist

[permalink] [raw]
Subject: [PATCH] Fix typo in linux/include/asm-ppc/semaphore.h

Below is a patch for a typo that I found while doing some grepping.
The patch is against 2.4.1-ac3.

--- linux-2.4.1-ac3/include/asm-ppc/semaphore.h~ Tue Feb 6 14:50:41 2001
+++ linux-2.4.1-ac3/include/asm-ppc/semaphore.h Tue Feb 6 14:50:45 2001
@@ -132,7 +132,7 @@

#define DECLARE_RWSEM(name) __DECLARE_RWSEM_GENERIC(name, 0, 0)
#define DECLARE_RWSEM_READ_LOCKED(name) __DECLARE_RWSEM_GENERIC(name, 1, 0)
-#define DECLAER_RWSEM_WRITE_LOCKED(name) __DECLARE_RWSEM_GENERIC(name, 0, 1)
+#define DECLARE_RWSEM_WRITE_LOCKED(name) __DECLARE_RWSEM_GENERIC(name, 0, 1)

extern inline void init_rwsem(struct rw_semaphore *sem)
{
--

Andr? Dahlqvist <[email protected]>