Skip to content
Commit 2a4ceb6d authored by David Woodhouse's avatar David Woodhouse
Browse files

agp: Switch mask_memory() method to take address argument again, not page

In commit 07613ba2

 ("agp: switch AGP to use page array instead of
unsigned long array") we switched the mask_memory() method to take a
'struct page *' instead of an address. This is painful, because in some
cases it has to be an IOMMU-mapped virtual bus address (in fact,
shouldn't it _always_ be a dma_addr_t returned from pci_map_xxx(), and
we just happen to get lucky most of the time?)

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent ed680c4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment