![]() | |||||||||||||
Messages in this thread
|
venkatesh.pallipadi@intel.com writes:
>
> /* Reset the direct mapping. Can block */
> - if (p->flags >> 20)
> - ioremap_change_attr(p->phys_addr, p->size, 0);
> + if (p->flags >> 20) {
> + free_mattr(p->phys_addr, p->phys_addr + get_vm_area_size(p),
> + p->flags>>20);
> + ioremap_change_attr(p->phys_addr, get_vm_area_size(p), 0);
If you really unmap all holes and forbid (or let it just return the
__va address) ioremap on anything mapped (which is probably ok) then
you can eliminate that completely.
-Andi
| ||||||||||||
| Last update: 2008-01-10 19:15 [from the cache] ©2003-2008 | |||||||||||||