[PATCH] xen: x86: Use new macro for debugreg
[linux-3.10.git] / arch / i386 / kernel / signal.c
index 344400787c399a1a04ccc232c9a8d308ea9080d5..839d4dc88cd42858b4a244fd88cd513f6aa99d22 100644 (file)
@@ -624,7 +624,7 @@ int fastcall do_signal(struct pt_regs *regs, sigset_t *oldset)
                 * inside the kernel.
                 */
                if (unlikely(current->thread.debugreg[7])) {
-                       loaddebug(&current->thread, 7);
+                       set_debugreg(current->thread.debugreg[7], 7);
                }
 
                /* Whee!  Actually deliver the signal.  */