istallion: use bit ops for the board flags

This lets us avoid problems with races on the flag changes

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Cox
2010-06-01 22:52:42 +02:00
committed by Greg Kroah-Hartman
parent b4eda9cb48
commit 8a1e803d01
2 changed files with 19 additions and 19 deletions

View File

@ -86,7 +86,7 @@ struct stlibrd {
unsigned long magic;
unsigned int brdnr;
unsigned int brdtype;
unsigned int state;
unsigned long state;
unsigned int nrpanels;
unsigned int nrports;
unsigned int nrdevs;