Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/walnut - Explicitly include <powerpc/spr.h>.



details:   https://anonhg.NetBSD.org/src/rev/69c584146769
branches:  trunk
changeset: 954154:69c584146769
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 05:14:00 2021 +0000

description:
- Explicitly include <powerpc/spr.h>.
- Drop unused headers.
- Group headers.

No binary changes.

diffstat:

 sys/arch/evbppc/walnut/autoconf.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 00165002aaec -r 69c584146769 sys/arch/evbppc/walnut/autoconf.c
--- a/sys/arch/evbppc/walnut/autoconf.c Tue Mar 30 05:08:16 2021 +0000
+++ b/sys/arch/evbppc/walnut/autoconf.c Tue Mar 30 05:14:00 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.25 2021/03/29 13:49:15 rin Exp $        */
+/*     $NetBSD: autoconf.c,v 1.26 2021/03/30 05:14:00 rin Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,20 +32,20 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.25 2021/03/29 13:49:15 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 2021/03/30 05:14:00 rin Exp $");
 
 #include <sys/param.h>
-#include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/systm.h>
-#include <sys/cpu.h>
 
 #include <dev/ic/comreg.h>     /* For COM_FREQ */
 
+#include <powerpc/spr.h>
+#include <powerpc/ibm4xx/spr.h>
+
 #include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dcr4xx.h>
 #include <powerpc/ibm4xx/dev/plbvar.h>
-#include <powerpc/ibm4xx/spr.h>
 
 /*
  * List of port-specific devices to attach to the processor local bus.



Home | Main Index | Thread Index | Old Index