Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/mips/atomic don't include <sys/cdefs.h>...



details:   https://anonhg.NetBSD.org/src/rev/a073a1455a9c
branches:  trunk
changeset: 778054:a073a1455a9c
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 14 16:50:34 2012 +0000

description:
don't include <sys/cdefs.h> from assembly.

diffstat:

 common/lib/libc/arch/mips/atomic/atomic_add.S  |  5 ++---
 common/lib/libc/arch/mips/atomic/atomic_and.S  |  5 ++---
 common/lib/libc/arch/mips/atomic/atomic_cas.S  |  5 ++---
 common/lib/libc/arch/mips/atomic/atomic_dec.S  |  5 ++---
 common/lib/libc/arch/mips/atomic/atomic_inc.S  |  5 ++---
 common/lib/libc/arch/mips/atomic/atomic_or.S   |  3 +--
 common/lib/libc/arch/mips/atomic/atomic_swap.S |  5 ++---
 7 files changed, 13 insertions(+), 20 deletions(-)

diffs (149 lines):

diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_add.S
--- a/common/lib/libc/arch/mips/atomic/atomic_add.S     Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_add.S     Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_add.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $    */
+/*     $NetBSD: atomic_add.S,v 1.4 2012/03/14 16:50:34 christos Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
-RCSID("$NetBSD: atomic_add.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $")
+RCSID("$NetBSD: atomic_add.S,v 1.4 2012/03/14 16:50:34 christos Exp $")
 
        .text
        .set    noreorder
diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_and.S
--- a/common/lib/libc/arch/mips/atomic/atomic_and.S     Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_and.S     Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_and.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $    */
+/*     $NetBSD: atomic_and.S,v 1.4 2012/03/14 16:50:34 christos Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
-RCSID("$NetBSD: atomic_and.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $")
+RCSID("$NetBSD: atomic_and.S,v 1.4 2012/03/14 16:50:34 christos Exp $")
 
        .text
        .set    noreorder
diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_cas.S
--- a/common/lib/libc/arch/mips/atomic/atomic_cas.S     Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_cas.S     Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_cas.S,v 1.2 2009/12/14 00:39:00 matt Exp $      */
+/*     $NetBSD: atomic_cas.S,v 1.3 2012/03/14 16:50:34 christos Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
-RCSID("$NetBSD: atomic_cas.S,v 1.2 2009/12/14 00:39:00 matt Exp $")
+RCSID("$NetBSD: atomic_cas.S,v 1.3 2012/03/14 16:50:34 christos Exp $")
 
        .text
        .set    noat
diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_dec.S
--- a/common/lib/libc/arch/mips/atomic/atomic_dec.S     Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_dec.S     Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_dec.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $    */
+/*     $NetBSD: atomic_dec.S,v 1.4 2012/03/14 16:50:34 christos Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
-RCSID("$NetBSD: atomic_dec.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $")
+RCSID("$NetBSD: atomic_dec.S,v 1.4 2012/03/14 16:50:34 christos Exp $")
 
        .text
        .set    noreorder
diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_inc.S
--- a/common/lib/libc/arch/mips/atomic/atomic_inc.S     Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_inc.S     Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_inc.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $    */
+/*     $NetBSD: atomic_inc.S,v 1.4 2012/03/14 16:50:34 christos Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
-RCSID("$NetBSD: atomic_inc.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $")
+RCSID("$NetBSD: atomic_inc.S,v 1.4 2012/03/14 16:50:34 christos Exp $")
 
        .text
        .set    noreorder
diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_or.S
--- a/common/lib/libc/arch/mips/atomic/atomic_or.S      Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_or.S      Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_or.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $     */
+/*     $NetBSD: atomic_or.S,v 1.4 2012/03/14 16:50:34 christos Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,7 +26,6 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
diff -r 265adb73b009 -r a073a1455a9c common/lib/libc/arch/mips/atomic/atomic_swap.S
--- a/common/lib/libc/arch/mips/atomic/atomic_swap.S    Wed Mar 14 14:18:10 2012 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_swap.S    Wed Mar 14 16:50:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_swap.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $   */
+/*     $NetBSD: atomic_swap.S,v 1.4 2012/03/14 16:50:34 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include <machine/asm.h>
 #include "atomic_op_asm.h"
 
-RCSID("$NetBSD: atomic_swap.S,v 1.3 2011/08/27 13:23:52 bouyer Exp $")
+RCSID("$NetBSD: atomic_swap.S,v 1.4 2012/03/14 16:50:34 christos Exp $")
 
        .text
        .set    noreorder



Home | Main Index | Thread Index | Old Index