]> git.neil.brown.name Git - history.git/commitdiff
[ARM] Move consistent_xxx exports to arch/arm/mm/consistent.c
authorRussell King <rmk@flint.arm.linux.org.uk>
Mon, 15 Mar 2004 17:14:48 +0000 (17:14 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Mon, 15 Mar 2004 17:14:48 +0000 (17:14 +0000)
arch/arm/kernel/armksyms.c
arch/arm/mm/consistent.c

index fbc941426b0a79f9688f25060523b0d0ba2b35ce..81c19fe15ca75d0f06d55817e432b8847b921d3a 100644 (file)
@@ -189,11 +189,6 @@ EXPORT_SYMBOL(__arch_clear_user);
 EXPORT_SYMBOL(__arch_strnlen_user);
 EXPORT_SYMBOL(__arch_strncpy_from_user);
 
-       /* consistent area handling */
-EXPORT_SYMBOL(consistent_alloc);
-EXPORT_SYMBOL(consistent_free);
-EXPORT_SYMBOL(consistent_sync);
-
 EXPORT_SYMBOL_NOVERS(__get_user_1);
 EXPORT_SYMBOL_NOVERS(__get_user_2);
 EXPORT_SYMBOL_NOVERS(__get_user_4);
index 65f1f228692589e48db31ef0ec80f75e97cef500..a45e30d7eac92f3c045869635070b32e6e35c21c 100644 (file)
@@ -231,6 +231,7 @@ void *consistent_alloc(int gfp, size_t size, dma_addr_t *handle,
  no_page:
        return ret;
 }
+EXPORT_SYMBOL(consistent_alloc);
 
 /*
  * Since we have the DMA mask available to us here, we could try to do
@@ -245,7 +246,6 @@ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, int gfp)
 
        return consistent_alloc(gfp, size, handle, 0);
 }
-
 EXPORT_SYMBOL(dma_alloc_coherent);
 
 /*
@@ -312,6 +312,7 @@ void consistent_free(void *vaddr, size_t size, dma_addr_t handle)
               "invalid area: %p\n", vaddr);
        dump_stack();
 }
+EXPORT_SYMBOL(consistent_free);
 
 /*
  * Initialise the consistent memory allocation.
@@ -374,3 +375,4 @@ void consistent_sync(void *vaddr, size_t size, int direction)
                BUG();
        }
 }
+EXPORT_SYMBOL(consistent_sync);