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>
This commit is contained in:
parent
937e26c0d1
commit
1e806c50f4
1 changed files with 2 additions and 1 deletions
|
@ -907,9 +907,10 @@ static int m32r_sio_request_port(struct uart_port *port)
|
||||||
return ret;
|
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;
|
struct uart_sio_port *up = (struct uart_sio_port *)port;
|
||||||
|
unsigned long flags;
|
||||||
|
|
||||||
spin_lock_irqsave(&up->port.lock, flags);
|
spin_lock_irqsave(&up->port.lock, flags);
|
||||||
|
|
||||||
|
|
Reference in a new issue