Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips Don't include mips/asm.h from a C file



details:   https://anonhg.NetBSD.org/src/rev/67aa6432e365
branches:  trunk
changeset: 974809:67aa6432e365
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Aug 12 07:37:39 2020 +0000

description:
Don't include mips/asm.h from a C file

diffstat:

 sys/arch/mips/mips/db_interface.c |  5 ++---
 sys/arch/mips/rmi/rmixl_cpu.c     |  5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 4bbb5f5f780c -r 67aa6432e365 sys/arch/mips/mips/db_interface.c
--- a/sys/arch/mips/mips/db_interface.c Wed Aug 12 06:48:50 2020 +0000
+++ b/sys/arch/mips/mips/db_interface.c Wed Aug 12 07:37:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.87 2020/08/01 09:29:18 skrll Exp $  */
+/*     $NetBSD: db_interface.c,v 1.88 2020/08/12 07:37:39 skrll Exp $  */
 
 /*
  * Mach Operating System
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.87 2020/08/01 09:29:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.88 2020/08/12 07:37:39 skrll Exp $");
 
 #include "opt_multiprocessor.h"
 #include "opt_cputype.h"       /* which mips CPUs do we support? */
@@ -46,7 +46,6 @@
 
 #include <uvm/uvm_extern.h>
 
-#include <mips/asm.h>
 #include <mips/regnum.h>
 #include <mips/cache.h>
 #include <mips/pcb.h>
diff -r 4bbb5f5f780c -r 67aa6432e365 sys/arch/mips/rmi/rmixl_cpu.c
--- a/sys/arch/mips/rmi/rmixl_cpu.c     Wed Aug 12 06:48:50 2020 +0000
+++ b/sys/arch/mips/rmi/rmixl_cpu.c     Wed Aug 12 07:37:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmixl_cpu.c,v 1.11 2019/12/03 05:07:48 riastradh Exp $ */
+/*     $NetBSD: rmixl_cpu.c,v 1.12 2020/08/12 07:37:39 skrll Exp $     */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -38,7 +38,7 @@
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_cpu.c,v 1.11 2019/12/03 05:07:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_cpu.c,v 1.12 2020/08/12 07:37:39 skrll Exp $");
 
 #include "opt_multiprocessor.h"
 #include "opt_ddb.h"
@@ -54,7 +54,6 @@
 #include <uvm/uvm_pglist.h>
 #include <uvm/uvm_extern.h>
 #include <mips/regnum.h>
-#include <mips/asm.h> 
 #include <mips/pmap.h>
 #include <mips/rmi/rmixlreg.h>
 #include <mips/rmi/rmixlvar.h>



Home | Main Index | Thread Index | Old Index