Re: Clear interrupts on a SMP machine?

From: David Woodhouse (dwmw2@infradead.org)
Date: Wed Oct 18 2000 - 10:41:51 EST


root@chaos.analogic.com said:
> I can't control somebody else's use of `hwclock` or even some future
> kernel module.

What you actually need to do is use the same spinlock as other users of the
RTC hardware do.

extern spinlock_t rtc_lock;

It is exported to modules for this very reason.

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:13 EST