Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/booke Sort headers. Also, use <ddb/ddb.h> i...



details:   https://anonhg.NetBSD.org/src/rev/39c0a6e7bf5b
branches:  trunk
changeset: 1017724:39c0a6e7bf5b
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jan 06 08:04:57 2021 +0000

description:
Sort headers. Also, use <ddb/ddb.h> instead of db_interface.h and
db_machdep.h in order not to be bothered by subtle include order.

No functional changes intended.

diffstat:

 sys/arch/powerpc/booke/trap.c |  34 ++++++++++++++++------------------
 1 files changed, 16 insertions(+), 18 deletions(-)

diffs (67 lines):

diff -r 1561d1c44f40 -r 39c0a6e7bf5b sys/arch/powerpc/booke/trap.c
--- a/sys/arch/powerpc/booke/trap.c     Wed Jan 06 07:56:19 2021 +0000
+++ b/sys/arch/powerpc/booke/trap.c     Wed Jan 06 08:04:57 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.35 2020/09/10 02:45:28 rin Exp $    */
+/*     $NetBSD: trap.c,v 1.36 2021/01/06 08:04:57 rin Exp $    */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.35 2020/09/10 02:45:28 rin Exp $");
+__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.36 2021/01/06 08:04:57 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altivec.h"
@@ -43,34 +43,32 @@
 #endif
 
 #include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/siginfo.h>
+#include <sys/cpu.h>
+#include <sys/kauth.h>
 #include <sys/lwp.h>
 #include <sys/proc.h>
-#include <sys/cpu.h>
-#include <sys/kauth.h>
 #include <sys/ras.h>
+#include <sys/siginfo.h>
+#include <sys/systm.h>
+
+#include <ddb/ddb.h>
 
 #include <uvm/uvm_extern.h>
 
-#include <powerpc/pcb.h>
-#include <powerpc/userret.h>
-#include <powerpc/psl.h>
+#include <powerpc/altivec.h>           /* use same interface for SPE */
 #include <powerpc/instr.h>
-#include <powerpc/altivec.h>           /* use same interface for SPE */
-
+#include <powerpc/pcb.h>
+#include <powerpc/psl.h>
 #include <powerpc/spr.h>
-#include <powerpc/booke/spr.h>
-#include <powerpc/booke/cpuvar.h>
+#include <powerpc/trap.h>
+#include <powerpc/userret.h>
 
 #include <powerpc/fpu/fpu_extern.h>
 
-#include <powerpc/db_machdep.h>
-#include <ddb/db_interface.h>
-
-#include <powerpc/trap.h>
+#include <powerpc/booke/cpuvar.h>
+#include <powerpc/booke/pte.h>
+#include <powerpc/booke/spr.h>
 #include <powerpc/booke/trap.h>
-#include <powerpc/booke/pte.h>
 
 void trap(enum ppc_booke_exceptions, struct trapframe *);
 



Home | Main Index | Thread Index | Old Index