diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
commit | 230e5ab6a084ed50470f101934782dbf54b0d06b (patch) | |
tree | 5dd821c8d33f450470588e7a543f74bf74306e9e /include/asm-i386/system.h | |
parent | c9b1c8a64c6444d189856f1e26bdcb8b4cd0113a (diff) |
Merge with Linux 2.1.67.
Diffstat (limited to 'include/asm-i386/system.h')
-rw-r--r-- | include/asm-i386/system.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-i386/system.h b/include/asm-i386/system.h index 94e01ec2a..9dcc21b44 100644 --- a/include/asm-i386/system.h +++ b/include/asm-i386/system.h @@ -255,13 +255,13 @@ __asm__ __volatile__ ("movw %%dx,%%ax\n\t" \ :"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) |