Re: %%db6 register still not saved 2.2.16 (x86)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jun 12 2000 - 07:33:05 EST


> There's still an outstanding bug in the 2.2. series (all of them)
> which is that debug register 6 (the debug status register) is never
> saved back into the tss as it should be.

> + __asm__ __volatile__("movl %%db6,%0" : "=r" (condition));
> + tsk->tss.debugreg[6] = condition;
> +
> if (regs->eflags & VM_MASK)
> goto debug_vm86;
> -
> - __asm__ __volatile__("movl %%db6,%0" : "=r" (condition));

Why are you moving it before the VM86 check ??

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:25 EST