patch-1.3.69 linux/include/asm-i386/smp.h
Next file: linux/include/asm-i386/string-486.h
Previous file: linux/fs/xiafs/file.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Mon Feb 26 11:58:16 1996
- Orig file:
v1.3.68/linux/include/asm-i386/smp.h
- Orig date:
Wed Feb 7 15:11:37 1996
diff -u --recursive --new-file v1.3.68/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
@@ -207,12 +207,12 @@
extern __inline void apic_write(unsigned long reg, unsigned long v)
{
- *((unsigned long *)(apic_reg+reg))=v;
+ *((volatile unsigned long *)(apic_reg+reg))=v;
}
extern __inline unsigned long apic_read(unsigned long reg)
{
- return *((unsigned long *)(apic_reg+reg));
+ return *((volatile unsigned long *)(apic_reg+reg));
}
/*
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