Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143273
b: refs/heads/master
c: 7b41f56
h: refs/heads/master
i:
  143271: 0dd9d7c
v: v3
  • Loading branch information
Paul Mundt committed Apr 14, 2009
1 parent 05da9f2 commit e672524
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ee50254dfe0c96f9eef4fc9fdf47a18d6a12df3
refs/heads/master: 7b41f5688c1e03c41c772cd1766d6d80189380dd
12 changes: 11 additions & 1 deletion trunk/arch/sh/mm/consistent.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@
* for more details.
*/
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/dma-debug.h>
#include <linux/io.h>
#include <asm/cacheflush.h>
#include <asm/addrspace.h>
#include <asm/io.h>

#define PREALLOC_DMA_DEBUG_ENTRIES 4096

static int __init dma_init(void)
{
dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);
return 0;
}
fs_initcall(dma_init);

void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp)
Expand Down

0 comments on commit e672524

Please sign in to comment.