Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Not all PPC ports (e.g. macppc) equ...



details:   https://anonhg.NetBSD.org/src/rev/9c0008bfaa1a
branches:  trunk
changeset: 550721:9c0008bfaa1a
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Aug 18 22:10:33 2003 +0000

description:
Not all PPC ports (e.g. macppc) equate IPL_NONE with 0.

diffstat:

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

diffs (18 lines):

diff -r c305d0900471 -r 9c0008bfaa1a sys/arch/powerpc/include/cpu.h
--- a/sys/arch/powerpc/include/cpu.h    Mon Aug 18 21:34:11 2003 +0000
+++ b/sys/arch/powerpc/include/cpu.h    Mon Aug 18 22:10:33 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.35 2003/08/12 05:06:53 matt Exp $    */
+/*     $NetBSD: cpu.h,v 1.36 2003/08/18 22:10:33 matt Exp $    */
 
 /*
  * Copyright (C) 1999 Wolfgang Solfrank.
@@ -255,7 +255,7 @@
 }
 
 #define        CLKF_USERMODE(frame)    (((frame)->srr1 & PSL_PR) != 0)
-#define        CLKF_BASEPRI(frame)     ((frame)->pri == 0)
+#define        CLKF_BASEPRI(frame)     ((frame)->pri == IPL_NONE)
 #define        CLKF_PC(frame)          ((frame)->srr0)
 #define        CLKF_INTR(frame)        ((frame)->depth > 0)
 



Home | Main Index | Thread Index | Old Index