2007-09-24 17:17:25

by Jochen Friedrich

[permalink] [raw]
Subject: [PATCH#2 4/4] [POWERPC] Fix cpm_uart driver


in cpm_uart_cpm1.h, DPRAM_BASE is assigned an address derived from cpmp.
On ARC=ppc, this is a physical address with 1:1 DMA mapping which can't
be used for arithmetric compare operations with virtual addresses
returned by cpm_dpram_addr. This patch changes the assignment to use
cpm_dpram_addr as well, like in cpm_uart_cpm2.h.

Signed-off-by: Jochen Friedrich <[email protected]>
---
drivers/serial/cpm_uart/cpm_uart_cpm1.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


Attachments:
e99364db4224fcfaf74389d1b59ec0637d899c17.diff (452.00 B)