Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/sibyte/dev Set correct struct clockframe .intr...
details: https://anonhg.NetBSD.org/src/rev/1d7cdf7ff8bc
branches: trunk
changeset: 763134:1d7cdf7ff8bc
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Mar 10 17:40:50 2011 +0000
description:
Set correct struct clockframe .intr value for hardclock(9).
diffstat:
sys/arch/mips/sibyte/dev/sbtimer.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r ab1e026bed38 -r 1d7cdf7ff8bc sys/arch/mips/sibyte/dev/sbtimer.c
--- a/sys/arch/mips/sibyte/dev/sbtimer.c Thu Mar 10 17:38:30 2011 +0000
+++ b/sys/arch/mips/sibyte/dev/sbtimer.c Thu Mar 10 17:40:50 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbtimer.c,v 1.18 2011/02/20 07:47:39 matt Exp $ */
+/* $NetBSD: sbtimer.c,v 1.19 2011/03/10 17:40:50 tsutsui Exp $ */
/*
* Copyright 2000, 2001
@@ -33,12 +33,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbtimer.c,v 1.18 2011/02/20 07:47:39 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbtimer.c,v 1.19 2011/03/10 17:40:50 tsutsui Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/kernel.h>
+#include <sys/cpu.h>
#include <mips/locore.h>
@@ -175,6 +176,7 @@
cf.pc = pc;
cf.sr = status;
+ cf.intr = (curcpu()->ci_idepth > 1);
hardclock(&cf);
Home |
Main Index |
Thread Index |
Old Index