linux-mips
[Top] [All Lists]

Re: hwclock and df seg fault

To: "Martin C. Barlow" <mips@martin.barlow.name>
Subject: Re: hwclock and df seg fault
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 20 Mar 2004 18:13:35 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <000101c40e9b$18d887e0$6500a8c0@colombia>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040320122201.GA32242@linux-mips.org> <000101c40e9b$18d887e0$6500a8c0@colombia>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
The RTC bug was trivial, patch below and in CVS,

  Ralf

Index: drivers/char/ds1286.c
===================================================================
RCS file: /home/cvs/linux/drivers/char/ds1286.c,v
retrieving revision 1.9
diff -u -r1.9 ds1286.c
--- drivers/char/ds1286.c       22 Jan 2004 02:15:40 -0000      1.9
+++ drivers/char/ds1286.c       20 Mar 2004 17:09:39 -0000
@@ -254,7 +254,7 @@
 
        ds1286_status |= RTC_IS_OPEN;
 
-       spin_lock_irq(&ds1286_lock);
+       spin_unlock_irq(&ds1286_lock);
        return 0;
 
 out_busy:

<Prev in Thread] Current Thread [Next in Thread>