diff options
| author | matt <matt@NetBSD.org> | 2008-08-07 03:58:15 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2008-08-07 03:58:15 +0000 |
| commit | e2da7ceb83f082a64a42f5f6f2a45c96a9cffce4 (patch) | |
| tree | b193a495547283f266e50fc7725d0f5d2d60dbd9 /sys/arch/arm/include/cpu.h | |
| parent | 13d044e16f42475ca8d347af2cee754c845798cd (diff) | |
Do fast softint processing in DO_AST_AND_RESTORE_ALIGNMENT_FAULTS.
Redo the softint mask so ci_softints >> ci_cpl != 0 becomes an easy
test for work to be done.
Diffstat (limited to 'sys/arch/arm/include/cpu.h')
| -rw-r--r-- | sys/arch/arm/include/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h index 54d67822b49..27fad547cf5 100644 --- a/sys/arch/arm/include/cpu.h +++ b/sys/arch/arm/include/cpu.h @@ -318,7 +318,7 @@ void dosoftints(void); static inline void cpu_dosoftints(void) { - if (curcpu()->ci_softints && curcpu()->ci_cpl < IPL_SOFTCLOCK) + if (curcpu()->ci_softints >> curcpu()->ci_cpl > 0) dosoftints(); } #endif |
