From 24addbc76dcbb1d1c85b3062bbf7a030831cc7a9 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 10 Apr 2013 17:49:04 +0200 Subject: dma: eliminate old-style IOMMU support The translate function in the DMAContext is now always NULL. Remove every reference to it. Reviewed-by: Peter Maydell Signed-off-by: Paolo Bonzini --- exec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index dfddd853de..89259c92a1 100644 --- a/exec.c +++ b/exec.c @@ -1840,8 +1840,7 @@ static void memory_map_init(void) memory_listener_register(&io_memory_listener, &address_space_io); memory_listener_register(&tcg_memory_listener, &address_space_memory); - dma_context_init(&dma_context_memory, &address_space_memory, - NULL, NULL, NULL); + dma_context_init(&dma_context_memory, &address_space_memory); } MemoryRegion *get_system_memory(void) -- cgit v1.2.3-55-g7522