search for: ns16550_poll

Displaying 1 result from an estimated 1 matches for "ns16550_poll".

Did you mean: __ns16550_poll
2010 Feb 24
4
Re: [Xen-changelog] [xen-3.4-testing] x86: Generalise BUGFRAME_dump mechanism to allow polled UART irq to
...b254 -r 3ccf3e993d5d xen/drivers/char/ns16550.c > --- a/xen/drivers/char/ns16550.c        Wed Feb 24 11:10:09 2010 +0000 > +++ b/xen/drivers/char/ns16550.c        Wed Feb 24 11:11:05 2010 +0000 > @@ -144,11 +144,13 @@ static void ns16550_interrupt( >     } >  } > > -static void ns16550_poll(void *data) > -{ > -    struct serial_port *port = data; > -    struct ns16550 *uart = port->uart; > -    struct cpu_user_regs *regs = guest_cpu_user_regs(); > +/* Safe: ns16550_poll() runs in softirq context so not reentrant on a given CPU. */ > +static DEFINE_PER_CPU(struct s...