Module Name:    src
Committed By:   tsutsui
Date:           Thu Mar 10 17:32:46 UTC 2011

Modified Files:
        src/sys/arch/sgimips/dev: int.c

Log Message:
Set correct struct clockframe .intr value for hardclock(9).


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/sgimips/dev/int.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sgimips/dev/int.c
diff -u src/sys/arch/sgimips/dev/int.c:1.22 src/sys/arch/sgimips/dev/int.c:1.23
--- src/sys/arch/sgimips/dev/int.c:1.22	Sun Feb 20 07:59:50 2011
+++ src/sys/arch/sgimips/dev/int.c	Thu Mar 10 17:32:46 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: int.c,v 1.22 2011/02/20 07:59:50 matt Exp $	*/
+/*	$NetBSD: int.c,v 1.23 2011/03/10 17:32:46 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 2009 Stephen M. Rumble 
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: int.c,v 1.22 2011/02/20 07:59:50 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: int.c,v 1.23 2011/03/10 17:32:46 tsutsui Exp $");
 
 #define __INTR_PRIVATE
 #include "opt_cputype.h"
@@ -639,6 +639,7 @@
 
 	cf.pc = pc;
 	cf.sr = status;
+	cf.intr = (curcpu()->ci_idepth > 1);
 
 	hardclock(&cf);
 

Reply via email to