Re: Question about rtc_lock

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 6 Oct 2001 14:01:20 +0100 (BST)


> spin_lock(&rtc_lock);
> CMOS_WRITE(v, sbf_port);
> spin_unlock(&rtc_lock);
>
> Does this code run with irqs disabled, or should these
> spinlocks be _irq ?

The CMOS isnt accessed from IRQ handlers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/