rename atomic_cas_up to rump_atomic_cas_up to avoid collisions

This commit is contained in:
pooka 2010-11-22 10:50:50 +00:00
parent b1f1f2bb9c
commit 9734188353
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rumpkern,v 1.101 2010/11/21 22:17:24 pooka Exp $
# $NetBSD: Makefile.rumpkern,v 1.102 2010/11/22 10:50:50 pooka Exp $
#
.include "${RUMPTOP}/Makefile.rump"
@ -184,7 +184,7 @@ CPPFLAGS+= -I${RUMPTOP}/../../common/lib/libc/atomic
.ifdef RUMP_SMP
SRCS+= atomic_cas_generic.c
.else
SRCS+= atomic_cas_up.c
SRCS+= rump_atomic_cas_up.c
.endif
.endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_cas_up.c,v 1.1 2010/11/21 21:46:43 pooka Exp $ */
/* $NetBSD: rump_atomic_cas_up.c,v 1.1 2010/11/22 10:50:51 pooka Exp $ */
/*-
* Copyright (c) 2010 Antti Kantee. All rights reserved.
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: atomic_cas_up.c,v 1.1 2010/11/21 21:46:43 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: rump_atomic_cas_up.c,v 1.1 2010/11/22 10:50:51 pooka Exp $");
/*
* Uniprocessor version of atomic CAS. Since there is no preemption