Commit 59e4e3e6 authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

blackfin: Use unsigned long for flags with irq functions

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f933d3c7
...@@ -415,7 +415,8 @@ static void bfin_serial_dma_rx_chars(struct bfin_serial_port *uart) ...@@ -415,7 +415,8 @@ static void bfin_serial_dma_rx_chars(struct bfin_serial_port *uart)
void bfin_serial_rx_dma_timeout(struct bfin_serial_port *uart) void bfin_serial_rx_dma_timeout(struct bfin_serial_port *uart)
{ {
int x_pos, pos, flags; int x_pos, pos;
unsigned long flags;
spin_lock_irqsave(&uart->port.lock, flags); spin_lock_irqsave(&uart->port.lock, flags);
...@@ -1088,7 +1089,7 @@ static void ...@@ -1088,7 +1089,7 @@ static void
bfin_serial_console_write(struct console *co, const char *s, unsigned int count) bfin_serial_console_write(struct console *co, const char *s, unsigned int count)
{ {
struct bfin_serial_port *uart = &bfin_serial_ports[co->index]; struct bfin_serial_port *uart = &bfin_serial_ports[co->index];
int flags = 0; unsigned long flags;
spin_lock_irqsave(&uart->port.lock, flags); spin_lock_irqsave(&uart->port.lock, flags);
uart_console_write(&uart->port, s, count, bfin_serial_console_putchar); uart_console_write(&uart->port, s, count, bfin_serial_console_putchar);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment