[lm-sensors] [PATCH] Make all it87 drivers SMP safe.

Alan Cox alan at lxorguk.ukuu.org.uk
Fri Apr 8 14:25:41 CEST 2011


> attempts to serialize access to the hardware by defining a global spinlock
> it87_io_lock in a file it87_lock.c. This lock has to be acquired by each
> of the it87 drivers before it can access the hardware. We have defined

I think this needs a NAK

The resource handler can do this for you and would ensure proper
behaviour.

See
	IORESOURCE_MUXED


Providing the it87 drivers request the resources (which they need to do
anyway!) and use IORESOURCE_MUXED, it should all work ?

Alan




More information about the lm-sensors mailing list