diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2011-05-27 01:25:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-27 02:12:33 +0200 |
commit | 1e806c50f4f36bb3aa9f6e43d9e4beb08a2d39d8 (patch) | |
tree | a4b3ffd7eaba902c46b59da6b29cf47cb9383802 /drivers/tty/serial | |
parent | m32r: convert cpumask api (diff) | |
download | linux-1e806c50f4f36bb3aa9f6e43d9e4beb08a2d39d8.tar.xz linux-1e806c50f4f36bb3aa9f6e43d9e4beb08a2d39d8.zip |
m32r: fix spin_lock_irqsave() misuse
spin_lock_irqsave() requires unsigned long.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/m32r_sio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial/m32r_sio.c index bea5c215460c..84db7321cce8 100644 --- 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); |