Searched refs:__CPU_DESC_INDEX (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/include/asm-x86_64/ |
D | desc.h | 73 #define __CPU_DESC_INDEX(x,field) \ macro 76 #define load_TR(cpu) asm volatile("ltr %w0"::"r" (__CPU_DESC_INDEX(cpu, tss))); 77 #define __load_LDT(cpu) asm volatile("lldt %w0"::"r" (__CPU_DESC_INDEX(cpu, ldt))); 131 …set_tssldt_descriptor((void *)&gdt_table + __CPU_DESC_INDEX(n,tss), (unsigned long)addr, DESC_TSS,… in set_tss_desc() 136 …set_tssldt_descriptor((void *)&gdt_table + __CPU_DESC_INDEX(n,ldt), (unsigned long)addr, DESC_LDT,… in set_ldt_desc()
|