lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20110117013832.GA7882@Krystal>
Date:	Sun, 16 Jan 2011 20:38:32 -0500
From:	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To:	Catalin Marinas <catalin.marinas@....com>,
	Nicolas Pitre <nico@....org>,
	Russell King <rmk+kernel@....linux.org.uk>,
	Alexander Shishkin <virtuoso@...nd.org>,
	linux-kernel@...r.kernel.org
Subject: [PATCH] arm 32v6k fix 2-byte cmpxchg comment

Impact: code comment fix

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

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
CC: Catalin Marinas <catalin.marinas@....com>
CC: Nicolas Pitre <nico@....org>
CC: Russell King <rmk+kernel@....linux.org.uk>
CC: Alexander Shishkin <virtuoso@...nd.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ