swiotlb: allow architectures to override swiotlb pool allocation
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 16 Dec 2008 20:17:26 +0000 (12:17 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 20:31:38 +0000 (21:31 +0100)
Impact: generalize swiotlb allocation code

Architectures may need to allocate memory specially for use with
the swiotlb.  Create the weak function swiotlb_alloc_boot() and
swiotlb_alloc() defaulting to the current behaviour.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found