From: Paul Mackerras <paulus@samba.org>
To: akpm@osdl.org, torvalds@osdl.org
Cc: anton@samba.org, mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: [PATCH] PPC64 had _raw_read_trylock already
Date: Wed, 12 Jan 2005 21:21:38 +1100 [thread overview]
Message-ID: <16868.64050.640925.128469@cargo.ozlabs.ibm.com> (raw)
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.
next reply other threads:[~2005-01-12 10:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 10:21 Paul Mackerras [this message]
2005-01-15 15:00 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16868.64050.640925.128469@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=akpm@osdl.org \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®