OSDN Git Service

serial: Kill off NO_IRQ
authorAlan Cox <alan@linux.intel.com>
Thu, 26 Jan 2012 17:44:09 +0000 (17:44 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Jan 2012 01:14:50 +0000 (17:14 -0800)
commitd4e33fac2408d37f7b52e80ca2a89f9fb482914f
treedd25baa1bc251ad2aa61a07eda7f95a4d7094126
parent3afbd89c9639c344300dcdd7d4e5e18dda559fd4
serial: Kill off NO_IRQ

We transform the offenders into a test of irq <= 0 which will be ok while
the ARM people get their platform sorted. Once that is done (or in a while
if they don't do it anyway) then we will change them all to !irq checks.

For arch specific drivers that are already using NO_IRQ = 0 we just test
against zero so we don't need to re-review them later.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 files changed:
drivers/tty/hvc/hvc_beat.c
drivers/tty/hvc/hvc_rtas.c
drivers/tty/hvc/hvc_udbg.c
drivers/tty/hvc/hvc_xen.c
drivers/tty/hvc/hvcs.c
drivers/tty/hvc/hvsi.c
drivers/tty/serial/21285.c
drivers/tty/serial/8250.c
drivers/tty/serial/m32r_sio.c
drivers/tty/serial/mpc52xx_uart.c
drivers/tty/serial/mux.c
drivers/tty/serial/pmac_zilog.c
drivers/tty/serial/sunzilog.c
drivers/tty/serial/ucc_uart.c
drivers/tty/serial/vr41xx_siu.c