[PATCH] proper flags type of spin_lock_irqsave()
Convert various spin_lock_irqsave() callers to correctly use `unsigned long'. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp> Cc: "Luck, Tony" <tony.luck@intel.com> Acked-by: Kyle McMartin <kyle@mcmartin.ca> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f5579f8c7d
commit
c53421b18f
@ -109,7 +109,7 @@ static int iic_ite_getclock(void *data)
|
||||
static void iic_ite_waitforpin(void) {
|
||||
DEFINE_WAIT(wait);
|
||||
int timeout = 2;
|
||||
long flags;
|
||||
unsigned long flags;
|
||||
|
||||
/* If interrupts are enabled (which they are), then put the process to
|
||||
* sleep. This process will be awakened by two events -- either the
|
||||
|
Reference in New Issue
Block a user