Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh5/include Account for the clock interrupt itself ...



details:   https://anonhg.NetBSD.org/src/rev/316082093ba6
branches:  trunk
changeset: 536091:316082093ba6
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Sep 06 15:36:16 2002 +0000

description:
Account for the clock interrupt itself in CLKF_INTR().

diffstat:

 sys/arch/sh5/include/cpu.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4e24a6ffcbf9 -r 316082093ba6 sys/arch/sh5/include/cpu.h
--- a/sys/arch/sh5/include/cpu.h        Fri Sep 06 15:35:41 2002 +0000
+++ b/sys/arch/sh5/include/cpu.h        Fri Sep 06 15:36:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.4 2002/08/26 10:38:53 scw Exp $      */
+/*     $NetBSD: cpu.h,v 1.5 2002/09/06 15:36:16 scw Exp $      */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -185,7 +185,7 @@
 #define        CLKF_BASEPRI(cf)   (((cf)->cf_state.sf_ssr&SH5_CONREG_SR_IMASK_ALL)==0)
 #define        CLKF_PC(cf)        ((cf)->cf_state.sf_spc)
 
-#define        CLKF_INTR(cf)      (curcpu()->ci_intr_depth > 0)
+#define        CLKF_INTR(cf)      (curcpu()->ci_intr_depth > 1)
 
 /*
  * This is used during profiling to integrate system time.  It can safely



Home | Main Index | Thread Index | Old Index