public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
	Nicolas Pitre <nico@cam.org>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	Alexander Shishkin <virtuoso@slind.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] arm 32v6k fix 2-byte cmpxchg comment
Date: Sun, 16 Jan 2011 20:38:32 -0500	[thread overview]
Message-ID: <20110117013832.GA7882@Krystal> (raw)

Impact: code comment fix

commit ecd322c9b3e4ac70f9f108badde3eb6b99c7993d introduced a 2-byte cmpxchg with
a comment mismatch (labeled __cmpxchg1).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Catalin Marinas <catalin.marinas@arm.com>
CC: Nicolas Pitre <nico@cam.org>
CC: Russell King <rmk+kernel@arm.linux.org.uk>
CC: Alexander Shishkin <virtuoso@slind.org>
---
 arch/arm/include/asm/system.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-lttng/arch/arm/include/asm/system.h
===================================================================
--- linux-2.6-lttng.orig/arch/arm/include/asm/system.h	2010-08-20 17:13:18.000000000 -0400
+++ linux-2.6-lttng/arch/arm/include/asm/system.h	2010-08-20 17:17:12.000000000 -0400
@@ -375,7 +375,7 @@ static inline unsigned long __cmpxchg(vo
 		break;
 	case 2:
 		do {
-			asm volatile("@ __cmpxchg1\n"
+			asm volatile("@ __cmpxchg2\n"
 			"	ldrexh	%1, [%2]\n"
 			"	mov	%0, #0\n"
 			"	teq	%1, %3\n"

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

                 reply	other threads:[~2011-01-17  1:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110117013832.GA7882@Krystal \
    --to=mathieu.desnoyers@efficios.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nico@cam.org \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=virtuoso@slind.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