void arch_switch_to_tt(struct task_struct *from, struct task_struct *to) { update_debugregs(to->thread.arch.debugregs_seq); arch_switch_tls_tt(from, to); }
void arch_switch(void) { update_debugregs(current->thread.arch.debugregs_seq); }