[PATCH] Fix up some left-over sig->sighand issues on the v850

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Tue Feb 18 2003 - 01:15:07 EST


diff -ruN -X../cludes linux-2.5.62-uc0.orig/arch/v850/kernel/init_task.c linux-2.5.62-uc0/arch/v850/kernel/init_task.c
--- linux-2.5.62-uc0.orig/arch/v850/kernel/init_task.c 2002-11-05 11:25:22.000000000 +0900
+++ linux-2.5.62-uc0/arch/v850/kernel/init_task.c 2003-02-18 11:41:09.000000000 +0900
@@ -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);
 
 /*
diff -ruN -X../cludes linux-2.5.62-uc0.orig/arch/v850/kernel/signal.c linux-2.5.62-uc0/arch/v850/kernel/signal.c
--- linux-2.5.62-uc0.orig/arch/v850/kernel/signal.c 2003-02-17 10:14:03.000000000 +0900
+++ linux-2.5.62-uc0/arch/v850/kernel/signal.c 2003-02-18 11:41:09.000000000 +0900
@@ -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 @@
 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)) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:20 EST