linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PPC64 had _raw_read_trylock already
@ 2005-01-12 10:21 Paul Mackerras
  2005-01-15 15:00 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2005-01-12 10:21 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: anton, mingo, linux-kernel

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>

diff -urN linux-2.5/include/asm-ppc64/spinlock.h test/include/asm-ppc64/spinlock.h
--- linux-2.5/include/asm-ppc64/spinlock.h	2005-01-10 07:54:29.000000000 +1100
+++ test/include/asm-ppc64/spinlock.h	2005-01-10 09:44:16.000000000 +1100
@@ -222,8 +222,6 @@
 	: "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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] PPC64 had _raw_read_trylock already
  2005-01-12 10:21 [PATCH] PPC64 had _raw_read_trylock already Paul Mackerras
@ 2005-01-15 15:00 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2005-01-15 15:00 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: akpm, torvalds, anton, linux-kernel


* Paul Mackerras <paulus@samba.org> wrote:

> 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>

yeah - sorry.

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-15 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 10:21 [PATCH] PPC64 had _raw_read_trylock already Paul Mackerras
2005-01-15 15:00 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).