From: Franck Bui-Huu Date: Mon, 19 Mar 2007 16:36:42 +0000 (+0100) Subject: [MIPS] Always use virt_to_phys() when translating kernel addresses X-Git-Tag: v2.6.21-rc5~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9d06962233bd0ce9bf46b007900eb88e716e948;p=pandora-kernel.git [MIPS] Always use virt_to_phys() when translating kernel addresses This patch fixes two places where we used plain 'x - PAGE_OFFSET' to achieve virtual to physical address convertions. This type of convertion is no more allowed since commit 6f284a2ce7b8bc49cb8455b1763357897a899abb. Reported-by: Maxime Bizon Signed-off-by: Franck Bui-Huu [Build fixes for machines that don't use the generic dma-coherence.h] Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed