From 1778e5b58612ec2446c09355bd9e52d6628f34e8 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 1 Aug 2016 10:34:02 +0900 Subject: [PATCH] atomic/sparcv9: fix a typo in the comment, no code change --- opal/include/opal/sys/sparcv9/atomic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opal/include/opal/sys/sparcv9/atomic.h b/opal/include/opal/sys/sparcv9/atomic.h index c4f67da8af..da6821f018 100644 --- a/opal/include/opal/sys/sparcv9/atomic.h +++ b/opal/include/opal/sys/sparcv9/atomic.h @@ -10,6 +10,8 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserverd. + * Copyright (c) 2016 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -85,7 +87,7 @@ static inline int opal_atomic_cmpset_32( volatile int32_t *addr, { /* casa [reg(rs1)] %asi, reg(rs2), reg(rd) * - * if (*(reg(rs1)) == reg(rs1) ) + * if (*(reg(rs1)) == reg(rs2) ) * swap reg(rd), *(reg(rs1)) * else * reg(rd) = *(reg(rs1))