mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] proper flags type of spin_lock_irqsave()
Convert various spin_lock_irqsave() callers to correctly use `unsigned long'. Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Miles Bader <[email protected]> Cc: "Luck, Tony" <[email protected]> Acked-by: Kyle McMartin <[email protected]> Cc: Jean Delvare <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f5579f8c7d
commit
c53421b18f
10 changed files with 25 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue