aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/desc.h')
-rw-r--r--include/asm-x86_64/desc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86_64/desc.h b/include/asm-x86_64/desc.h
index 33764869387b..5ce0e34f9a0c 100644
--- a/include/asm-x86_64/desc.h
+++ b/include/asm-x86_64/desc.h
@@ -114,6 +114,11 @@ static inline void set_system_gate(int nr, void *func)
114 _set_gate(&idt_table[nr], GATE_INTERRUPT, (unsigned long) func, 3, 0); 114 _set_gate(&idt_table[nr], GATE_INTERRUPT, (unsigned long) func, 3, 0);
115} 115}
116 116
117static inline void set_system_gate_ist(int nr, void *func, unsigned ist)
118{
119 _set_gate(&idt_table[nr], GATE_INTERRUPT, (unsigned long) func, 3, ist);
120}
121
117static inline void set_tssldt_descriptor(void *ptr, unsigned long tss, unsigned type, 122static inline void set_tssldt_descriptor(void *ptr, unsigned long tss, unsigned type,
118 unsigned size) 123 unsigned size)
119{ 124{