Skip to contentSkip to conversation

export __dma_sync & __dma_sync_page

PATCH In review Eugene Surovegin 2 participants 2 messages Aug 15, 2004 – Aug 16, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

===== dma-mapping.c 1.2 vs edited =====

dma-mapping.c renamed from arch/ppc/kernel/dma-mapping.c +2 -0
@@ -381,6 +381,7 @@
 		break;
 	}
 }
+EXPORT_SYMBOL(__dma_sync);
 
 #ifdef CONFIG_HIGHMEM
 /*
@@ -438,3 +439,4 @@
 	__dma_sync((void *)start, size, direction);
 #endif
 }
+EXPORT_SYMBOL(__dma_sync_page);
#1 lore raw
Quoted 17 lines · Eugene Surovegin

This patch adds missing exports for __dma_sync and __dma_sync_page (DMA API helpers for non-coherent cache PPCs).

===== dma-mapping.c 1.2 vs edited =====

dma-mapping.c renamed from arch/ppc/kernel/dma-mapping.c +1 -0
@@ -381,6 +381,7 @@
 		break;
 	}
 }
+EXPORT_SYMBOL(__dma_sync);
 
 #ifdef CONFIG_HIGHMEM
 /*

dma-mapping.c line 442

Quoted 4 lines
dma-mapping.c renamed from arch/ppc/kernel/dma-mapping.c +1 -0
@@ -438,3 +439,4 @@
 	__dma_sync((void *)start, size, direction);
 #endif
 }
+EXPORT_SYMBOL(__dma_sync_page);

Looks good to me. Andrew, please apply.

-Matt