loaddebug(&current->thread, 0); loaddebug(&current->thread, 1); loaddebug(&current->thread, 2); loaddebug(&current->thread, 3); /* no 4 and 5 */ loaddebug(&current->thread, 6); loaddebug(&current->thread, 7); 
set_debugreg(current->thread.debugreg[0], 0); set_debugreg(current->thread.debugreg[1], 1); set_debugreg(current->thread.debugreg[2], 2); set_debugreg(current->thread.debugreg[3], 3); /* no 4 and 5 */ set_debugreg(current->thread.debugreg[6], 6); set_debugreg(current->thread.debugreg[7], 7); 
static void fix_processor_context(void){	int cpu = smp_processor_id();	struct tss_struct * t = &per_cpu(init_tss, cpu);	set_tss_desc(cpu,t);	/* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */        per_cpu(cpu_gdt_table, cpu)[GDT_ENTRY_TSS].b &= 0xfffffdff;	load_TR_desc();				/* This does ltr */	load_LDT(&current->active_mm->context);	/* This does lldt */	/*	 * Now maybe reload the debug registers	 */	if (current->thread.debugreg[7]){                loaddebug(&current->thread, 0);                loaddebug(&current->thread, 1);                loaddebug(&current->thread, 2);                loaddebug(&current->thread, 3);                /* no 4 and 5 */                loaddebug(&current->thread, 6);                loaddebug(&current->thread, 7);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/1cc6f12e03ebc064b74161c684f987284ce9d0cc/cpu.c/clean/arch/i386/power/cpu.c