patch-1.3.68 linux/include/linux/interrupt.h
Next file: linux/include/linux/kernel.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Feb 22 15:51:42 1996
- Orig file:
v1.3.67/linux/include/linux/interrupt.h
- Orig date:
Fri Feb 9 17:53:08 1996
diff -u --recursive --new-file v1.3.67/linux/include/linux/interrupt.h linux/include/linux/interrupt.h
@@ -2,7 +2,7 @@
#ifndef _LINUX_INTERRUPT_H
#define _LINUX_INTERRUPT_H
-#include <linux/linkage.h>
+#include <linux/kernel.h>
#include <asm/bitops.h>
struct bh_struct {
@@ -49,10 +49,12 @@
extern inline void start_bh_atomic(void)
{
intr_count++;
+ barrier();
}
extern inline void end_bh_atomic(void)
{
+ barrier();
intr_count--;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this