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



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