projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
937e26c
)
m32r: fix spin_lock_irqsave() misuse
author
KOSAKI Motohiro
<
[email protected]
>
Thu, 26 May 2011 23:25:00 +0000
(16:25 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 27 May 2011 00:12:33 +0000
(17:12 -0700)
spin_lock_irqsave() requires unsigned long.
Signed-off-by: KOSAKI Motohiro <
[email protected]
>
Cc: Hirokazu Takata <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/tty/serial/m32r_sio.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/m32r_sio.c
b/drivers/tty/serial/m32r_sio.c
index bea5c215460c710901dcf18a00304d6d9be76f11..84db7321cce85e5d2be2a9cb3f7794c8f23ef0e3 100644
(file)
--- a/
drivers/tty/serial/m32r_sio.c
+++ b/
drivers/tty/serial/m32r_sio.c
@@
-907,9
+907,10
@@
static int m32r_sio_request_port(struct uart_port *port)
return ret;
}
-static void m32r_sio_config_port(struct uart_port *port, int
flags
)
+static void m32r_sio_config_port(struct uart_port *port, int
unused
)
{
struct uart_sio_port *up = (struct uart_sio_port *)port;
+ unsigned long flags;
spin_lock_irqsave(&up->port.lock, flags);