summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/m32r_sio.c
diff options
context:
space:
mode:
authorPaul Gortmaker2012-01-04 21:16:24 +0100
committerGreg Kroah-Hartman2012-01-05 01:26:32 +0100
commit59087384e41e33ed070575aa4a834a7ff7d67e77 (patch)
tree1f95ec7913df26bbea489927c633743dfc8f4449 /drivers/tty/serial/m32r_sio.c
parentserial/documentation: fix documented name of DCD cpp symbol (diff)
downloadkernel-qcow2-linux-59087384e41e33ed070575aa4a834a7ff7d67e77.tar.gz
kernel-qcow2-linux-59087384e41e33ed070575aa4a834a7ff7d67e77.tar.xz
kernel-qcow2-linux-59087384e41e33ed070575aa4a834a7ff7d67e77.zip
serial: driver for m32 arch should not have DEC alpha errata
This driver was copied from the original 8250 driver and hence got the DEC alpha errata workaround. But the workaround is ugly and we don't really want it in any more places than it absolutely needs to be. Obviously ARCH=m32r means ARCH != alpha, so just remove the references to the ALPHA_KLUDGE_MCR define. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/m32r_sio.c')
-rw-r--r--drivers/tty/serial/m32r_sio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/tty/serial/m32r_sio.c b/drivers/tty/serial/m32r_sio.c
index 08018934e013..94a6792bf97b 100644
--- a/drivers/tty/serial/m32r_sio.c
+++ b/drivers/tty/serial/m32r_sio.c
@@ -1000,11 +1000,8 @@ static void __init m32r_sio_register_ports(struct uart_driver *drv)
init_timer(&up->timer);
up->timer.function = m32r_sio_timeout;
- /*
- * ALPHA_KLUDGE_MCR needs to be killed.
- */
- up->mcr_mask = ~ALPHA_KLUDGE_MCR;
- up->mcr_force = ALPHA_KLUDGE_MCR;
+ up->mcr_mask = ~0;
+ up->mcr_force = 0;
uart_add_one_port(drv, &up->port);
}