Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/atomic Fix a few more copy&pastos - now it a...
details: https://anonhg.NetBSD.org/src/rev/2cc8de427265
branches: trunk
changeset: 326444:2cc8de427265
user: martin <martin%NetBSD.org@localhost>
date: Wed Jan 29 14:49:35 2014 +0000
description:
Fix a few more copy&pastos - now it actually builds.
diffstat:
common/lib/libc/atomic/atomic_init_testset.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 327311163700 -r 2cc8de427265 common/lib/libc/atomic/atomic_init_testset.c
--- a/common/lib/libc/atomic/atomic_init_testset.c Wed Jan 29 14:44:32 2014 +0000
+++ b/common/lib/libc/atomic/atomic_init_testset.c Wed Jan 29 14:49:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_init_testset.c,v 1.11 2014/01/29 14:44:32 martin Exp $ */
+/* $NetBSD: atomic_init_testset.c,v 1.12 2014/01/29 14:49:35 martin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: atomic_init_testset.c,v 1.11 2014/01/29 14:44:32 martin Exp $");
+__RCSID("$NetBSD: atomic_init_testset.c,v 1.12 2014/01/29 14:49:35 martin Exp $");
#include "atomic_op_namespace.h"
@@ -103,7 +103,7 @@
#ifndef __HAVE_ASM_ATOMIC_CAS_16_UP
static uint16_t
-_atomic_cas_up_16(volatile uint16_t *ptr, uint16_t old, uint16_t new)
+_atomic_cas_16_up(volatile uint16_t *ptr, uint16_t old, uint16_t new)
{
uint16_t ret;
@@ -131,7 +131,7 @@
return ret;
}
*ptr = new;
- RAS_END(_atomic_cas_16);
+ RAS_END(_atomic_cas_8);
return ret;
}
Home |
Main Index |
Thread Index |
Old Index