Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/pic fix same thinko as in previous commit, ...
details: https://anonhg.NetBSD.org/src/rev/529f23684d12
branches: trunk
changeset: 779639:529f23684d12
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Jun 07 04:37:09 2012 +0000
description:
fix same thinko as in previous commit, in have_pending_intr_p()
diffstat:
sys/arch/powerpc/pic/intr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f3088881989f -r 529f23684d12 sys/arch/powerpc/pic/intr.c
--- a/sys/arch/powerpc/pic/intr.c Thu Jun 07 02:39:22 2012 +0000
+++ b/sys/arch/powerpc/pic/intr.c Thu Jun 07 04:37:09 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.21 2012/06/07 02:39:22 macallan Exp $ */
+/* $NetBSD: intr.c,v 1.22 2012/06/07 04:37:09 macallan Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.21 2012/06/07 02:39:22 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.22 2012/06/07 04:37:09 macallan Exp $");
#include "opt_interrupt.h"
#include "opt_multiprocessor.h"
@@ -622,7 +622,7 @@
if (ci->ci_ipending & ~imask[ncpl])
return true;
#ifdef __HAVE_FAST_SOFTINTS
- if ((ci->ci_data.cpu_softints << ncpl) & IPL_SOFTMASK)
+ if (ci->ci_data.cpu_softints & (IPL_SOFTMASK << ncpl))
return true;
#endif
return false;
Home |
Main Index |
Thread Index |
Old Index