powerpc: Rework set_dabr so it can take a DABRX value as well
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / signal.c
index 29be2712e5609a192656d6303b2f06078591e7fb..a2dc75793bd56b2d09786f9cbf3400b0f6051e51 100644 (file)
@@ -131,7 +131,7 @@ static int do_signal(struct pt_regs *regs)
         * triggered inside the kernel.
         */
        if (current->thread.dabr)
-               set_dabr(current->thread.dabr);
+               set_dabr(current->thread.dabr, current->thread.dabrx);
 #endif
        /* Re-enable the breakpoints for the signal stack */
        thread_change_pc(current, regs);