patch-2.3.15 linux/include/asm-i386/hardirq.h
Next file: linux/include/asm-i386/io.h
Previous file: linux/include/asm-i386/dma.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 24 17:09:19 1999
- Orig file:
v2.3.14/linux/include/asm-i386/hardirq.h
- Orig date:
Wed Aug 18 16:43:29 1999
diff -u --recursive --new-file v2.3.14/linux/include/asm-i386/hardirq.h linux/include/asm-i386/hardirq.h
@@ -53,7 +53,7 @@
static inline int hardirq_trylock(int cpu)
{
- return !atomic_read(&global_irq_count) && !test_bit(0,&global_irq_lock);
+ return !local_irq_count[cpu] && !test_bit(0,&global_irq_lock);
}
#define hardirq_endlock(cpu) do { } while (0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)