Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH 3/11] ARM32: fix typo in dosoftints
--Imre
From 9cd6959d286f79a6e7bf37c6bcb225b1e65b31cc Mon Sep 17 00:00:00 2001
From: Imre Deak <imre.deak%teleca.com@localhost>
Date: Fri, 25 Apr 2008 14:26:03 +0300
Subject: [PATCH] ARM32: fix typo in do_softints
---
sys/arch/arm/arm32/arm32_machdep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys/arch/arm/arm32/arm32_machdep.c
b/sys/arch/arm/arm32/arm32_machdep.c
index bb028d8..8935a40 100644
--- a/sys/arch/arm/arm32/arm32_machdep.c
+++ b/sys/arch/arm/arm32/arm32_machdep.c
@@ -501,7 +501,7 @@ dosoftints(void)
return;
ci->ci_cpl = IPL_HIGH;
#define DOSOFTINT(n) \
- if (softints & IPL_SOFT ## n) { \
+ if (softints & (1 << IPL_SOFT ## n)) { \
ci->ci_softints &= ~(1 << IPL_SOFT ## n); \
softint_switch(ci->ci_softlwps[SOFTINT_ ## n], \
IPL_SOFT ## n); \
--
1.5.4.2
Home |
Main Index |
Thread Index |
Old Index