diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-05-01 07:34:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 11:04:00 -0400 |
commit | 6f441fe99814f64315b8c11890744230b990c460 (patch) | |
tree | 306cbcb8669d3a2f56b214da201c75be2ca499b9 /drivers/serial/8250.c | |
parent | 4ed99a27d161ce6f1eb6657c5cd5e6aef365c665 (diff) |
8250: switch 8250 drivers to use _nocache ioremaps
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/8250.c')
-rw-r--r-- | drivers/serial/8250.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index ea41f2626458..a1ca9b7bf2d5 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -2271,7 +2271,8 @@ static int serial8250_request_std_resource(struct uart_8250_port *up) | |||
2271 | } | 2271 | } |
2272 | 2272 | ||
2273 | if (up->port.flags & UPF_IOREMAP) { | 2273 | if (up->port.flags & UPF_IOREMAP) { |
2274 | up->port.membase = ioremap(up->port.mapbase, size); | 2274 | up->port.membase = ioremap_nocache(up->port.mapbase, |
2275 | size); | ||
2275 | if (!up->port.membase) { | 2276 | if (!up->port.membase) { |
2276 | release_mem_region(up->port.mapbase, size); | 2277 | release_mem_region(up->port.mapbase, size); |
2277 | ret = -ENOMEM; | 2278 | ret = -ENOMEM; |