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/856fc0506d0e
branches:  trunk
changeset: 960842:856fc0506d0e
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 e06b8e836e5f -r 856fc0506d0e 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