patch-2.1.32 linux/include/asm-i386/hardirq.h

Next file: linux/include/asm-i386/system.h
Previous file: linux/include/asm-i386/bitops.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.31/linux/include/asm-i386/hardirq.h linux/include/asm-i386/hardirq.h
@@ -12,6 +12,8 @@
 #define hardirq_enter(cpu)	(local_irq_count[cpu]++)
 #define hardirq_exit(cpu)	(local_irq_count[cpu]--)
 
+#define synchronize_irq()	do { } while (0)
+
 #else
 
 extern unsigned char global_irq_holder;
@@ -61,7 +63,9 @@
 	__cli();
 	hardirq_exit(cpu);
 	__sti();
-}	
+}
+
+extern void synchronize_irq(void);
 
 #endif /* __SMP__ */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov