]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix up some left-over sig->sighand issues on the v850
authorMiles Bader <miles@lsi.nec.co.jp>
Tue, 18 Feb 2003 13:38:57 +0000 (05:38 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 18 Feb 2003 13:38:57 +0000 (05:38 -0800)
arch/v850/kernel/init_task.c
arch/v850/kernel/signal.c

index 364d87f3eb5fc0150bb399bb2f1b1019e3621015..d8ea8d8c4e20a20320c2e9f4e778356360fde7a2 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * arch/v850/kernel/init_task.c -- Initial task/thread structures
  *
- *  Copyright (C) 2002  NEC Corporation
- *  Copyright (C) 2002  Miles Bader <miles@gnu.org>
+ *  Copyright (C) 2002,03  NEC Electronics Corporation
+ *  Copyright (C) 2002,03  Miles Bader <miles@gnu.org>
  *
  * This file is subject to the terms and conditions of the GNU General
  * Public License.  See the file COPYING in the main directory of this
@@ -21,6 +21,7 @@
 static struct fs_struct init_fs = INIT_FS;
 static struct files_struct init_files = INIT_FILES;
 static struct signal_struct init_signals = INIT_SIGNALS (init_signals);
+static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
 struct mm_struct init_mm = INIT_MM (init_mm);
 
 /*
index 2dd9f26accbb07e0fc99b7d04045dd615960bde0..caa9e3a0451726e67961308dd30b2e7c1d2186db 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * arch/v850/kernel/signal.c -- Signal handling
  *
- *  Copyright (C) 2001,02  NEC Corporation
- *  Copyright (C) 2001,02  Miles Bader <miles@gnu.org>
+ *  Copyright (C) 2001,02,03  NEC Electronics Corporation
+ *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org>
  *  Copyright (C) 1999,2000,2002  Niibe Yutaka & Kaz Kojima
  *  Copyright (C) 1991,1992  Linus Torvalds
  *
@@ -434,7 +434,7 @@ static void
 handle_signal(unsigned long sig, siginfo_t *info, sigset_t *oldset,
        struct pt_regs * regs)
 {
-       struct k_sigaction *ka = &current->sig->action[sig-1];
+       struct k_sigaction *ka = &current->sighand->action[sig-1];
 
        /* Are we from a system call? */
        if (PT_REGS_SYSCALL (regs)) {