From: Jochen Friedrich Date: Mon, 24 Sep 2007 17:14:57 +0000 (+0200) Subject: [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem X-Git-Tag: v2.6.23-rc9~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc63818931ea55c54d6e59b7d38bff8f295dc8c1;p=pandora-kernel.git [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem cpm_dpram_addr returns physical memory of the DP RAM instead of iomapped virtual memory. As there usually is a 1:1 MMU map of the IMMR area, this is often not noticed. However, cpm_dpram_phys assumes this iomapped virtual memory and returns garbage on the 1:1 mapped memory causing CPM1 uart console to fail. This patch fixes the problem (copied from the powerpc tree). Signed-off-by: Jochen Friedrich Signed-off-by: Kumar Gala --- Reading git-diff-tree failed