]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/kernel/signal_32.c
sh: GUSA atomic rollback support.
[linux-2.6-omap-h63xx.git] / arch / sh / kernel / signal_32.c
index ca754fd4243734eed9d80ea90266f528c7469d6e..f6b5fbfe75c459acde8d76f310462bd8282f141c 100644 (file)
@@ -507,24 +507,6 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
                                                ctrl_inw(regs->pc - 4));
                                break;
                }
-#ifdef CONFIG_GUSA
-       } else {
-               /* gUSA handling */
-               preempt_disable();
-
-               if (regs->regs[15] >= 0xc0000000) {
-                       int offset = (int)regs->regs[15];
-
-                       /* Reset stack pointer: clear critical region mark */
-                       regs->regs[15] = regs->regs[1];
-                       if (regs->pc < regs->regs[0])
-                               /* Go to rewind point #1 */
-                               regs->pc = regs->regs[0] + offset -
-                                       instruction_size(ctrl_inw(regs->pc-4));
-               }
-
-               preempt_enable_no_resched();
-#endif
        }
 
        /* Set up the stack frame */