patch-2.1.64 linux/include/asm-i386/system.h

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

diff -u --recursive --new-file v2.1.63/linux/include/asm-i386/system.h linux/include/asm-i386/system.h
@@ -255,13 +255,13 @@
 	:"ax","dx")
 
 #define set_intr_gate(n,addr) \
-	_set_gate(&idt[n],14,0,addr)
+	_set_gate(idt+(n),14,0,addr)
 
 #define set_trap_gate(n,addr) \
-	_set_gate(&idt[n],15,0,addr)
+	_set_gate(idt+(n),15,0,addr)
 
 #define set_system_gate(n,addr) \
-	_set_gate(&idt[n],15,3,addr)
+	_set_gate(idt+(n),15,3,addr)
 
 #define set_call_gate(a,addr) \
 	_set_gate(a,12,3,addr)

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