Searched refs:newldt (Results 1 - 2 of 2) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/kernel/
H A Dldt.c34 void *oldldt, *newldt; local
43 newldt = vmalloc(mincount * LDT_ENTRY_SIZE);
45 newldt = (void *)__get_free_page(GFP_KERNEL);
47 if (!newldt)
51 memcpy(newldt, pc->ldt, oldsize * LDT_ENTRY_SIZE);
53 memset(newldt + oldsize * LDT_ENTRY_SIZE, 0,
56 paravirt_alloc_ldt(newldt, mincount);
62 pc->ldt = newldt;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/x86/kernel/
H A Dldt.c34 void *oldldt, *newldt; local
43 newldt = vmalloc(mincount * LDT_ENTRY_SIZE);
45 newldt = (void *)__get_free_page(GFP_KERNEL);
47 if (!newldt)
51 memcpy(newldt, pc->ldt, oldsize * LDT_ENTRY_SIZE);
53 memset(newldt + oldsize * LDT_ENTRY_SIZE, 0,
56 paravirt_alloc_ldt(newldt, mincount);
62 pc->ldt = newldt;

Completed in 201 milliseconds