firewire: ohci: replace vm_map_ram() with vmap()
authorClemens Ladisch <clemens@ladisch.de>
Sun, 16 Nov 2014 20:08:49 +0000 (21:08 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 19 Nov 2014 10:57:50 +0000 (11:57 +0100)
vm_map_ram() is intended for short-lived objects, so using it for the AR
buffers could fragment address space, especially on a 32-bit machine.
For an allocation that lives as long as the device, vmap() is the better
choice.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

No differences found