Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips Remove references to COMPAT_IRIX - does not ex...



details:   https://anonhg.NetBSD.org/src/rev/e6962460fb3d
branches:  trunk
changeset: 825785:e6962460fb3d
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Jul 30 16:13:24 2017 +0000

description:
Remove references to COMPAT_IRIX - does not exist anymore.

I believe svr4_machdep.h should be removed when the option is not
implemented on the target architecture; and we should also remove the
associated md.* entries.

diffstat:

 sys/arch/mips/include/svr4_machdep.h |  6 ++----
 sys/arch/mips/mips/svr4_machdep.c    |  8 +++-----
 2 files changed, 5 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r 1e9d3650ccfb -r e6962460fb3d sys/arch/mips/include/svr4_machdep.h
--- a/sys/arch/mips/include/svr4_machdep.h      Sun Jul 30 16:07:06 2017 +0000
+++ b/sys/arch/mips/include/svr4_machdep.h      Sun Jul 30 16:13:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_machdep.h,v 1.5 2008/04/28 20:23:28 martin Exp $ */
+/*     $NetBSD: svr4_machdep.h,v 1.6 2017/07/30 16:13:24 maxv Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,9 +30,7 @@
  */
 
 /* 
- * This does not implement COMPAT_SVR4 for MIPS yet. For now we only 
- * have enough definitions to get some svr4_* files needed by COMPAT_IRIX 
- * to build.
+ * This does not implement COMPAT_SVR4 for MIPS. XXX: should be removed.
  */
 
 #ifndef _MIPS_SVR4_MACHDEP_H_
diff -r 1e9d3650ccfb -r e6962460fb3d sys/arch/mips/mips/svr4_machdep.c
--- a/sys/arch/mips/mips/svr4_machdep.c Sun Jul 30 16:07:06 2017 +0000
+++ b/sys/arch/mips/mips/svr4_machdep.c Sun Jul 30 16:13:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svr4_machdep.c,v 1.15 2011/07/10 23:21:59 matt Exp $ */
+/*     $NetBSD: svr4_machdep.c,v 1.16 2017/07/30 16:13:24 maxv Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,13 +30,11 @@
  */
 
 /* 
- * This does not implement COMPAT_SVR4 for MIPS yet. For now we only
- * have enough definitions to get some svr4_* files needed by COMPAT_IRIX
- * to build.  
+ * This does not implement COMPAT_SVR4 for MIPS. XXX: should be removed.
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.15 2011/07/10 23:21:59 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.16 2017/07/30 16:13:24 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>



Home | Main Index | Thread Index | Old Index