Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
x86: fix ldt limit for 64 bit

+2 -2
+2 -2
include/asm-x86/desc.h
··· 192 192 unsigned cpu = smp_processor_id(); 193 193 ldt_desc ldt; 194 194 195 - set_tssldt_descriptor(&ldt, (unsigned long)addr, 196 - DESC_LDT, entries * sizeof(ldt) - 1); 195 + set_tssldt_descriptor(&ldt, (unsigned long)addr, DESC_LDT, 196 + entries * LDT_ENTRY_SIZE - 1); 197 197 write_gdt_entry(get_cpu_gdt_table(cpu), GDT_ENTRY_LDT, 198 198 &ldt, DESC_LDT); 199 199 asm volatile("lldt %w0"::"q" (GDT_ENTRY_LDT*8));