swiotlb: range_needs_mapping should take a physical address.
authorIan Campbell <Ian.Campbell@citrix.com>
Fri, 9 Jan 2009 18:32:09 +0000 (18:32 +0000)
committerIngo Molnar <mingo@elte.hu>
Sun, 11 Jan 2009 03:54:34 +0000 (04:54 +0100)
commit0b8698ab5847cbe25775083659f00c658a8161c9
tree045bd39ac0d8c3bdd67d35bb5517f6b885183f57
parent0811a433c61e85f895018239c4466a36311cd5de
swiotlb: range_needs_mapping should take a physical address.

The swiotlb_arch_range_needs_mapping() hook should take a physical
address rather than a virtual address in order to support highmem pages.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-swiotlb_64.c
include/linux/swiotlb.h
lib/swiotlb.c