1 diff -Nur linux-2.6.24.vanilla/drivers/rtc/rtc-sa1100.c linux-2.6.24/drivers/rtc/rtc-sa1100.c
2 --- linux-2.6.24.vanilla/drivers/rtc/rtc-sa1100.c 2008-01-24 23:58:37.000000000 +0100
3 +++ linux-2.6.24/drivers/rtc/rtc-sa1100.c 2008-03-17 20:52:41.000000000 +0100
5 * Converted to the RTC subsystem and Driver Model
6 * by Richard Purdie <rpurdie@rpsys.net>
9 + * disable IRQ RTC1Hz and RTCAlrm before request_irq
10 + * in sa1100_rtc_open()
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version
16 static int sa1100_rtc_open(struct device *dev)
21 + spin_lock_irq(&sa1100_rtc_lock);
24 + spin_unlock_irq(&sa1100_rtc_lock);
26 ret = request_irq(IRQ_RTC1Hz, sa1100_rtc_interrupt, IRQF_DISABLED,