sparc: Remove old style signal frame support.
[linux-2.6.git] / arch / sparc64 / kernel / sys_sparc32.c
index c1a61e98899a7ec741db282798bfdaddbdc4763d..161ce4710fe76143326905011db732358de7c891 100644 (file)
@@ -554,10 +554,8 @@ asmlinkage long compat_sys_sigaction(int sig, struct old_sigaction32 __user *act
         struct k_sigaction new_ka, old_ka;
         int ret;
 
-       if (sig < 0) {
-               set_thread_flag(TIF_NEWSIGNALS);
-               sig = -sig;
-       }
+       WARN_ON_ONCE(sig >= 0);
+       sig = -sig;
 
         if (act) {
                compat_old_sigset_t mask;
@@ -601,11 +599,6 @@ asmlinkage long compat_sys_rt_sigaction(int sig,
         if (sigsetsize != sizeof(compat_sigset_t))
                 return -EINVAL;
 
-       /* All tasks which use RT signals (effectively) use
-        * new style signals.
-        */
-       set_thread_flag(TIF_NEWSIGNALS);
-
         if (act) {
                u32 u_handler, u_restorer;