summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-01-11 16:50:53 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-11 16:50:53 -0800
commit8de4d36f31299effc7c2c4ba05262de4e3d69b4d (patch)
treefb0a64db55ccdbda80e1eee710b8b8c74d92374a /include
parentfb25fbf0534d7cccc85f4a537485ea329f24cc5c (diff)
[PATCH] PPC64 had _raw_read_trylock already
Ingo presumably didn't notice that ppc64 already had a functional _raw_read_trylock when he added the #define to use the generic version. This just removes the #define so we use the ppc64-specific version again. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/spinlock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-ppc64/spinlock.h b/include/asm-ppc64/spinlock.h
index 58e5dc61d9d8..e194599dbe50 100644
--- a/include/asm-ppc64/spinlock.h
+++ b/include/asm-ppc64/spinlock.h
@@ -222,8 +222,6 @@ static void __inline__ _raw_read_unlock(rwlock_t *rw)
: "cr0", "memory");
}
-#define _raw_read_trylock(lock) generic_raw_read_trylock(lock)
-
/*
* This returns the old value in the lock,
* so we got the write lock if the return value is 0.