linux-mips
[Top] [All Lists]

fix typo in fault.c

To: linux-mips@oss.sgi.com
Subject: fix typo in fault.c
From: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Date: Wed, 31 Oct 2001 19:30:55 +0900 (JST)
Cc: ralf@oss.sgi.com
Organization: TOSHIBA Personal Computer System Corporation
Sender: owner-linux-mips@oss.sgi.com
bust_spinlock() does not exist.

Also, this code does NOT cause link error.  It seems the codes after
die() are discarded at compile time because die() has "noreturn"
attribute.


--- /work3/sgi/linux-sgi-cvs/arch/mips/mm/fault.c       Mon Oct 29 15:26:57 2001
+++ arch/mips/mm/fault.c        Wed Oct 31 13:44:16 2001
@@ -202,7 +202,7 @@
               "address %08lx, epc == %08lx, ra == %08lx\n",
               address, regs->cp0_epc, regs->regs[31]);
        die("Oops", regs);
-       bust_spinlock(0);
+       bust_spinlocks(0);
        do_exit(SIGKILL);
 
 /*
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>
  • fix typo in fault.c, Atsushi Nemoto <=