From 6ee025d9848c26e4fab437708c18c23e57fb8f54 Mon Sep 17 00:00:00 2001 From: uwe Date: Mon, 4 Sep 2006 23:57:52 +0000 Subject: [PATCH] general_exception: g/c infinite loop after the call to panic. --- sys/arch/sh3/sh3/exception.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/arch/sh3/sh3/exception.c b/sys/arch/sh3/sh3/exception.c index 3e2936c67be9..8c8628cd0c1e 100644 --- a/sys/arch/sh3/sh3/exception.c +++ b/sys/arch/sh3/sh3/exception.c @@ -1,4 +1,4 @@ -/* $NetBSD: exception.c,v 1.31 2006/07/22 22:43:43 uwe Exp $ */ +/* $NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved. @@ -79,7 +79,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: exception.c,v 1.31 2006/07/22 22:43:43 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -247,9 +247,6 @@ general_exception(struct lwp *l, struct trapframe *tf, uint32_t va) printf(" spc %x ssr %x \n", tf->tf_spc, tf->tf_ssr); panic("general_exception"); - - for (;;) - continue; /* NOTREACHED */ }