ds.h: unnecessary bit-field

Dominik Brodowski linux at dominikbrodowski.net
Sat Jul 24 06:18:34 EDT 2010


Hey,

On Sat, Jul 24, 2010 at 07:13:48PM +0900, Komuro wrote:
> bit-field sometimes introduces locking problem.
> for example, if one cpu loads the value "suspended",
> it also loads other value ("_irq", "_io" ..) at the same time.
>  
> so it should not be used?

That's why they are protected by pcmcia_socket->ops_mutex, see
Documentation/pcmcia/locking.txt for details.

Best,
	Dominik



More information about the linux-pcmcia mailing list