Date: Tue, 7 Aug 2007 14:29:26 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 124823 for review Message-ID: <200708071429.l77ETQL1077776@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124823 Change 124823 by gonzo@gonzo_jeeves on 2007/08/07 14:28:43 o MIPS has no atomic_XXX_8 functions family Affected files ... .. //depot/projects/mips2/src/sys/compat/opensolaris/kern/opensolaris_atomic.c#2 edit .. //depot/projects/mips2/src/sys/compat/opensolaris/sys/atomic.h#2 edit Differences ... ==== //depot/projects/mips2/src/sys/compat/opensolaris/kern/opensolaris_atomic.c#2 (text+ko) ==== @@ -74,7 +74,8 @@ return (newval); } -#if defined(__sparc64__) || defined(__powerpc__) || defined(__arm__) +#if defined(__sparc64__) || defined(__mips__) || \ + defined(__powerpc__) || defined(__arm__) void atomic_or_8(volatile uint8_t *target, uint8_t value) { ==== //depot/projects/mips2/src/sys/compat/opensolaris/sys/atomic.h#2 (text+ko) ==== @@ -44,7 +44,8 @@ extern uint8_t atomic_or_8_nv(volatile uint8_t *target, uint8_t value); extern void membar_producer(void); -#if defined(__sparc64__) || defined(__powerpc__) || defined(__arm__) +#if defined(__sparc64__) || defined(__powerpc__) || \ + defined(__arm__) || defined(__mips__) extern void atomic_or_8(volatile uint8_t *target, uint8_t value); #else static __inline void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708071429.l77ETQL1077776>