Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/nslu2 Fix <arm/locore.h> lossage
details: https://anonhg.NetBSD.org/src/rev/2829c254f158
branches: trunk
changeset: 789476:2829c254f158
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 19 22:26:09 2013 +0000
description:
Fix <arm/locore.h> lossage
diffstat:
sys/arch/evbarm/nslu2/nslu2_leds.c | 12 ++++++------
sys/arch/evbarm/nslu2/nslu2_machdep.c | 10 +++++-----
2 files changed, 11 insertions(+), 11 deletions(-)
diffs (81 lines):
diff -r 6b0efc99b5e0 -r 2829c254f158 sys/arch/evbarm/nslu2/nslu2_leds.c
--- a/sys/arch/evbarm/nslu2/nslu2_leds.c Mon Aug 19 22:25:32 2013 +0000
+++ b/sys/arch/evbarm/nslu2/nslu2_leds.c Mon Aug 19 22:26:09 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nslu2_leds.c,v 1.9 2012/10/14 14:20:58 msaitoh Exp $ */
+/* $NetBSD: nslu2_leds.c,v 1.10 2013/08/19 22:26:09 matt Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nslu2_leds.c,v 1.9 2012/10/14 14:20:58 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslu2_leds.c,v 1.10 2013/08/19 22:26:09 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -38,8 +38,8 @@
#include <sys/device.h>
#include <sys/callout.h>
#include <sys/proc.h>
-
-#include <machine/intr.h>
+#include <sys/intr.h>
+#include <sys/cpu.h>
#include <dev/usb/usb.h>
#include <dev/usb/usbcdc.h>
@@ -144,11 +144,11 @@
static int
slugled_tmr(void *arg)
{
- struct clockframe *frame = arg;
+ struct clockframe *cf = arg;
uint32_t reg, bit;
int is;
- if (CLKF_INTR(frame) || sched_curcpu_runnable_p() ||
+ if (CLKF_INTR(cf) || sched_curcpu_runnable_p() ||
(curlwp != NULL && curlwp != curcpu()->ci_data.cpu_idlelwp))
bit = LEDBITS_STATUS;
else
diff -r 6b0efc99b5e0 -r 2829c254f158 sys/arch/evbarm/nslu2/nslu2_machdep.c
--- a/sys/arch/evbarm/nslu2/nslu2_machdep.c Mon Aug 19 22:25:32 2013 +0000
+++ b/sys/arch/evbarm/nslu2/nslu2_machdep.c Mon Aug 19 22:26:09 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nslu2_machdep.c,v 1.23 2012/11/12 18:00:39 skrll Exp $ */
+/* $NetBSD: nslu2_machdep.c,v 1.24 2013/08/19 22:26:09 matt Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.23 2012/11/12 18:00:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.24 2013/08/19 22:26:09 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -110,6 +110,8 @@
#include <sys/reboot.h>
#include <sys/termios.h>
#include <sys/ksyms.h>
+#include <sys/bus.h>
+#include <sys/cpu.h>
#include <uvm/uvm_extern.h>
@@ -120,9 +122,7 @@
#include <ddb/db_extern.h>
#include <machine/bootconfig.h>
-#include <sys/bus.h>
-#include <machine/cpu.h>
-#include <machine/frame.h>
+#include <arm/locore.h>
#include <arm/undefined.h>
#include <arm/arm32/machdep.h>
Home |
Main Index |
Thread Index |
Old Index