From: Glauber Costa Date: Tue, 8 Apr 2008 16:21:01 +0000 (-0300) Subject: x86: remove virt_to_bus in pci-dma_64.c X-Git-Tag: v2.6.26-rc1~1133^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71848d687e2a477cb7c68a854d8fdeaa5dff0ffc;p=pandora-kernel.git x86: remove virt_to_bus in pci-dma_64.c virt_to_bus() is deprecated according to the docs, and moreover, won't return the right thing in i386 if we're dealing with high memory mappings. So we make our allocation function return a page, and then use page_address() (for virtual addr) and page_to_phys() (for physical addr) instead. Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed