Commit de5cdff5 authored by Eugene Surovegin's avatar Eugene Surovegin Committed by Linus Torvalds

[PATCH] ppc32: export __dma_sync & __dma_sync_page

This patch adds missing exports for __dma_sync and __dma_sync_page (DMA API
helpers for non-coherent cache PPCs).
Signed-off-by: default avatarEugene Surovegin <ebs@ebshome.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 934b8f1a
...@@ -381,6 +381,7 @@ void __dma_sync(void *vaddr, size_t size, int direction) ...@@ -381,6 +381,7 @@ void __dma_sync(void *vaddr, size_t size, int direction)
break; break;
} }
} }
EXPORT_SYMBOL(__dma_sync);
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM
/* /*
...@@ -438,3 +439,4 @@ void __dma_sync_page(struct page *page, unsigned long offset, ...@@ -438,3 +439,4 @@ void __dma_sync_page(struct page *page, unsigned long offset,
__dma_sync((void *)start, size, direction); __dma_sync((void *)start, size, direction);
#endif #endif
} }
EXPORT_SYMBOL(__dma_sync_page);
Markdown is supported
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