summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/dma-memcpy.c
diff options
context:
space:
mode:
authorSteve Kilbane <steve@whitecrow.demon.co.uk>2011-02-21 19:43:32 -0500
committerMike Frysinger <vapier@gentoo.org>2011-02-21 19:50:58 -0500
commitf8355584a335a2a2dc03842f19ba9f1b587b2f5c (patch)
tree1fe6558433fbca71a48fcfcf9debe6f23c6f7927 /libc/sysdeps/linux/bfin/dma-memcpy.c
parentb3144c7169fe374b74172b55dfa547290b20fa9f (diff)
bfin: fix sram/dma syscall definitions
Once we pull in the header, we're forced to declare the syscall with all the right types. Signed-off-by: Steve Kilbane <steve@whitecrow.demon.co.uk> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/bfin/dma-memcpy.c')
-rw-r--r--libc/sysdeps/linux/bfin/dma-memcpy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/bfin/dma-memcpy.c b/libc/sysdeps/linux/bfin/dma-memcpy.c
index 274b99e8c..b715aeba0 100644
--- a/libc/sysdeps/linux/bfin/dma-memcpy.c
+++ b/libc/sysdeps/linux/bfin/dma-memcpy.c
@@ -1,6 +1,6 @@
#include <unistd.h>
#include <errno.h>
#include <sys/syscall.h>
+#include <bfin_sram.h>
-_syscall3 (__ptr_t, dma_memcpy, __ptr_t, dest, __ptr_t, src, size_t, len)
-
+_syscall3 (void *, dma_memcpy, void *, dest, const void *, src, size_t, len)