commit | 71848d687e2a477cb7c68a854d8fdeaa5dff0ffc | [log] [tgz] |
---|---|---|
author | Glauber Costa <gcosta@redhat.com> | Tue Apr 08 13:21:01 2008 -0300 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 19 19:19:58 2008 +0200 |
tree | 7452d4617f6aeef6e271c6b722bb96a2694eeffe | |
parent | 2e33e361188617628e47b4bc47e87e84feaf556f [diff] |
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 <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>