diff options
author | Vitaly Bordug <vbordug@ru.mvista.com> | 2006-04-25 20:26:46 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-04-28 21:11:33 +1000 |
commit | 09b03b6c29638eb5c79b02e585cb1b20d91a8ea0 (patch) | |
tree | c6348427c9b785a90db7f87d55903c6b75804170 /kernel/ptrace.c | |
parent | 4427d6bf966379304f77b7cc8c92421e6bb95483 (diff) |
[PATCH] ppc32 CPM_UART: Fixed odd address translations
Current address translation methods can produce wrong results, because
virt_to_bus and vice versa may not produce correct offsets on dma-allocated
memory. The right way is, while tracking both phys and virt address of the
window that has been allocated for boffer descriptors, and use those
numbers to compute the offset and make translation properly.
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions