x86: use sg_phys in x86_64
authorGlauber Costa <gcosta@redhat.com>
Tue, 8 Apr 2008 16:20:47 +0000 (13:20 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:57 +0000 (19:19 +0200)
commit30db2cbf38d68f466fd34488f8312a151225c9ac
treea628bc1bc9c06bf4eb6a064c03bd10df094182ce
parente4dcdd6b4fa33efee94e89cccd75e871c570c510
x86: use sg_phys in x86_64

To make the code usable in i386, where we have high memory mappings,
we drop te virt_to_bus(sg_virt()) construction in favour of sg_phys.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-nommu_64.c