We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd0521 commit 6950d04Copy full SHA for 6950d04
drivers/rtc/rtc-cmos.c
@@ -643,11 +643,10 @@ static struct cmos_rtc cmos_rtc;
643
644
static irqreturn_t cmos_interrupt(int irq, void *p)
645
{
646
- unsigned long flags;
647
u8 irqstat;
648
u8 rtc_control;
649
650
- spin_lock_irqsave(&rtc_lock, flags);
+ spin_lock(&rtc_lock);
651
652
/* When the HPET interrupt handler calls us, the interrupt
653
* status is passed as arg1 instead of the irq number. But
@@ -681,7 +680,7 @@ static irqreturn_t cmos_interrupt(int irq, void *p)
681
680
hpet_mask_rtc_irq_bit(RTC_AIE);
682
CMOS_READ(RTC_INTR_FLAGS);
683
}
684
- spin_unlock_irqrestore(&rtc_lock, flags);
+ spin_unlock(&rtc_lock);
685
686
if (is_intr(irqstat)) {
687
rtc_update_irq(p, 1, irqstat);
0 commit comments