Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Include sys/lwp.h instead of arm/cpu.h



details:   https://anonhg.NetBSD.org/src/rev/e42b6c1ea4a0
branches:  trunk
changeset: 807394:e42b6c1ea4a0
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Apr 08 08:35:54 2015 +0000

description:
Include sys/lwp.h instead of arm/cpu.h

sys/lwp.h is preferred because arm/cpu.h has a dependency on sys/lwp.h.

Suggested by skrll@ and matt@

diffstat:

 sys/arch/arm/ep93xx/ep93xx_intr.c   |  6 +++---
 sys/arch/arm/ixp12x0/ixp12x0_intr.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (61 lines):

diff -r c5d5e8bb0374 -r e42b6c1ea4a0 sys/arch/arm/ep93xx/ep93xx_intr.c
--- a/sys/arch/arm/ep93xx/ep93xx_intr.c Wed Apr 08 07:29:44 2015 +0000
+++ b/sys/arch/arm/ep93xx/ep93xx_intr.c Wed Apr 08 08:35:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ep93xx_intr.c,v 1.23 2015/04/07 03:19:24 ozaki-r Exp $ */
+/* $NetBSD: ep93xx_intr.c,v 1.24 2015/04/08 08:35:54 ozaki-r Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ep93xx_intr.c,v 1.23 2015/04/07 03:19:24 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ep93xx_intr.c,v 1.24 2015/04/08 08:35:54 ozaki-r Exp $");
 
 /*
  * Interrupt support for the Cirrus Logic EP93XX
@@ -43,12 +43,12 @@
 #include <sys/systm.h>
 #include <sys/malloc.h>
 #include <sys/termios.h>
+#include <sys/lwp.h>
 
 #include <sys/bus.h>
 #include <sys/intr.h>
 
 #include <arm/locore.h>
-#include <arm/cpu.h>
 
 #include <arm/ep93xx/ep93xxreg.h> 
 #include <arm/ep93xx/ep93xxvar.h> 
diff -r c5d5e8bb0374 -r e42b6c1ea4a0 sys/arch/arm/ixp12x0/ixp12x0_intr.c
--- a/sys/arch/arm/ixp12x0/ixp12x0_intr.c       Wed Apr 08 07:29:44 2015 +0000
+++ b/sys/arch/arm/ixp12x0/ixp12x0_intr.c       Wed Apr 08 08:35:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp12x0_intr.c,v 1.30 2015/04/07 03:19:25 ozaki-r Exp $ */
+/* $NetBSD: ixp12x0_intr.c,v 1.31 2015/04/08 08:35:54 ozaki-r Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixp12x0_intr.c,v 1.30 2015/04/07 03:19:25 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp12x0_intr.c,v 1.31 2015/04/08 08:35:54 ozaki-r Exp $");
 
 /*
  * Interrupt support for the Intel ixp12x0
@@ -42,9 +42,9 @@
 #include <sys/termios.h>
 #include <sys/bus.h>
 #include <sys/intr.h>
+#include <sys/lwp.h>
 
 #include <arm/locore.h>
-#include <arm/cpu.h>
 
 #include <arm/ixp12x0/ixp12x0reg.h> 
 #include <arm/ixp12x0/ixp12x0var.h> 



Home | Main Index | Thread Index | Old Index