[Linux-ia64] [patch] 2.4.20-ia64-021210 prevent loop on zero instruction

From: Keith Owens <kaos_at_ocs.com.au>
Date: 2002-12-11 23:48:15
On Tue, 10 Dec 2002 21:44:12 -0700, 
Bjorn Helgaas <bjorn_helgaas@hp.com> wrote:
>The latest ia64 kernel patch for Linux 2.4.20 is available here:
>
>    ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/v2.4/linux-2.4.20-ia64-021210.diff.gz

Trivial backport of a fix from 2.5 ia64.  Prevents the kernel looping
on a zero instruction.

--- arch/ia64/kernel/traps.c.orig	Wed Dec 11 23:44:14 2002
+++ arch/ia64/kernel/traps.c	Wed Dec 11 23:45:47 2002
@@ -143,6 +143,7 @@
 
 	switch (break_num) {
 	      case 0: /* unknown error */
+		die_if_kernel("bad break", regs, break_num);
 		sig = SIGILL; code = ILL_ILLOPC;
 		break;
 
Received on Wed Dec 11 04:48:44 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST