mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 12:04:08 +00:00
[PATCH] ioc4_serial: irq flags fix
Use the correct type for the CPU flags. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
37af6560f7
commit
a5a89bae04
1 changed files with 2 additions and 2 deletions
|
@ -921,7 +921,7 @@ static void handle_dma_error_intr(void *arg, uint32_t other_ir)
|
||||||
{
|
{
|
||||||
struct ioc4_port *port = (struct ioc4_port *)arg;
|
struct ioc4_port *port = (struct ioc4_port *)arg;
|
||||||
struct hooks *hooks = port->ip_hooks;
|
struct hooks *hooks = port->ip_hooks;
|
||||||
unsigned int flags;
|
unsigned long flags;
|
||||||
|
|
||||||
spin_lock_irqsave(&port->ip_lock, flags);
|
spin_lock_irqsave(&port->ip_lock, flags);
|
||||||
|
|
||||||
|
@ -1834,7 +1834,7 @@ static void handle_intr(void *arg, uint32_t sio_ir)
|
||||||
struct ioc4_port *port = (struct ioc4_port *)arg;
|
struct ioc4_port *port = (struct ioc4_port *)arg;
|
||||||
struct hooks *hooks = port->ip_hooks;
|
struct hooks *hooks = port->ip_hooks;
|
||||||
unsigned int rx_high_rd_aborted = 0;
|
unsigned int rx_high_rd_aborted = 0;
|
||||||
unsigned int flags;
|
unsigned long flags;
|
||||||
struct uart_port *the_port;
|
struct uart_port *the_port;
|
||||||
int loop_counter;
|
int loop_counter;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue