CVS commit: [matt-nb5-mips64] src/sys/lib/libkern

2011-02-08 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Tue Feb  8 19:00:15 UTC 2011

Modified Files:
src/sys/lib/libkern [matt-nb5-mips64]: softfloat.c

Log Message:
- remove erroneous include of opt_multiprocessor.h
(MULTIPROCESSOR instance was inside a comment)


To generate a diff of this commit:
cvs rdiff -u -r1.4.94.1 -r1.4.94.2 src/sys/lib/libkern/softfloat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/softfloat.c
diff -u src/sys/lib/libkern/softfloat.c:1.4.94.1 src/sys/lib/libkern/softfloat.c:1.4.94.2
--- src/sys/lib/libkern/softfloat.c:1.4.94.1	Sat Feb  5 06:00:14 2011
+++ src/sys/lib/libkern/softfloat.c	Tue Feb  8 19:00:14 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: softfloat.c,v 1.4.94.1 2011/02/05 06:00:14 cliff Exp $ */
+/* $NetBSD: softfloat.c,v 1.4.94.2 2011/02/08 19:00:14 cliff Exp $ */
 
 /*
  * This version hacked for use with gcc -msoft-float by bjh21.
@@ -47,11 +47,9 @@
 /* If you need this in a boot program, you have bigger problems... */
 #ifndef _STANDALONE
 
-#include opt_multiprocessor.h
-
 #include sys/cdefs.h
 #if defined(LIBC_SCCS)  !defined(lint)
-__RCSID($NetBSD: softfloat.c,v 1.4.94.1 2011/02/05 06:00:14 cliff Exp $);
+__RCSID($NetBSD: softfloat.c,v 1.4.94.2 2011/02/08 19:00:14 cliff Exp $);
 #endif /* LIBC_SCCS and not lint */
 
 #ifdef SOFTFLOAT_FOR_GCC



CVS commit: [matt-nb5-mips64] src/sys/lib/libkern

2011-02-02 Thread Cliff Neighbors
Module Name:src
Committed By:   cliff
Date:   Thu Feb  3 02:24:21 UTC 2011

Modified Files:
src/sys/lib/libkern [matt-nb5-mips64]: libkern.h

Log Message:
fix KASSERTMSG


To generate a diff of this commit:
cvs rdiff -u -r1.82.8.1 -r1.82.8.2 src/sys/lib/libkern/libkern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/libkern.h
diff -u src/sys/lib/libkern/libkern.h:1.82.8.1 src/sys/lib/libkern/libkern.h:1.82.8.2
--- src/sys/lib/libkern/libkern.h:1.82.8.1	Wed Apr 21 00:28:20 2010
+++ src/sys/lib/libkern/libkern.h	Thu Feb  3 02:24:21 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: libkern.h,v 1.82.8.1 2010/04/21 00:28:20 matt Exp $	*/
+/*	$NetBSD: libkern.h,v 1.82.8.2 2011/02/03 02:24:21 cliff Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -208,7 +208,7 @@
 #else /* DIAGNOSTIC */
 #define _DIAGASSERT(a)	assert(a)
 #define	KASSERTMSG(e, msg) do {		\
-	if (__predict_false((e)))	\
+	if (__predict_false(!(e)))	\
 		panic msg;		\
 	} while (/*CONSTCOND*/ 0)
 #ifdef __STDC__



CVS commit: [matt-nb5-mips64] src/sys/lib/libkern

2009-08-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Aug 21 18:01:18 UTC 2009

Modified Files:
src/sys/lib/libkern [matt-nb5-mips64]: Makefile.inc

Log Message:
Pass LDFLAGS


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.40.94.1 src/sys/lib/libkern/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/Makefile.inc
diff -u src/sys/lib/libkern/Makefile.inc:1.40 src/sys/lib/libkern/Makefile.inc:1.40.94.1
--- src/sys/lib/libkern/Makefile.inc:1.40	Tue Dec 20 19:35:26 2005
+++ src/sys/lib/libkern/Makefile.inc	Fri Aug 21 18:01:18 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.40 2005/12/20 19:35:26 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.40.94.1 2009/08/21 18:01:18 matt Exp $
 #
 #	Configuration variables (default values are below):
 #
@@ -40,7 +40,8 @@
 	AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
 	LORDER=${LORDER:Q} \
 	TSORT=${TSORT:Q} \
-	LD=${LD:Q} STRIP=${STRIP:Q} \
+	LD=${LD:Q} LDFLAGS=${LDFLAGS:Q} \
+	STRIP=${STRIP:Q} \
 	AR=${AR:Q} NM=${NM:Q} \
 	RANLIB=${RANLIB:Q} SIZE=${SIZE:Q} \
 	MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \



CVS commit: [matt-nb5-mips64] src/sys/lib/libkern/arch/mips

2009-08-18 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue Aug 18 15:27:42 UTC 2009

Modified Files:
src/sys/lib/libkern/arch/mips [matt-nb5-mips64]: Makefile.inc

Log Message:
Update to use new memset2.c


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.138.1 src/sys/lib/libkern/arch/mips/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/arch/mips/Makefile.inc
diff -u src/sys/lib/libkern/arch/mips/Makefile.inc:1.18 src/sys/lib/libkern/arch/mips/Makefile.inc:1.18.138.1
--- src/sys/lib/libkern/arch/mips/Makefile.inc:1.18	Thu Dec 27 00:10:39 2001
+++ src/sys/lib/libkern/arch/mips/Makefile.inc	Tue Aug 18 15:27:42 2009
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile.inc,v 1.18 2001/12/27 00:10:39 shin Exp $
+#	$NetBSD: Makefile.inc,v 1.18.138.1 2009/08/18 15:27:42 matt Exp $
 #
 #	There are likely more that we will notice when we go native
 
-SRCS+=	__assert.c bswap64.c memchr.c memcmp.c memset.c random.c scanc.c \
+SRCS+=	__assert.c bswap64.c memchr.c memcmp.c random.c scanc.c \
 	skpc.c strcat.c strcpy.c strcasecmp.c \
 	strncasecmp.c strncmp.c strncpy.c strtoul.c
 
-SRCS+=	byte_swap_2.S byte_swap_4.S ffs.S memcpy.S memset.S memmove.S \
+SRCS+=	byte_swap_2.S byte_swap_4.S ffs.S memcpy.S memset2.c memmove.S \
 	strlen.S strcmp.S