diff options
author | Michal Simek <monstr@monstr.eu> | 2010-04-10 17:34:06 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-05-06 11:21:59 +0200 |
commit | f1525765fb9c432f5dc5d0d18102fbe9980a14ae (patch) | |
tree | 6a2169fb8c49b7e8fd22186410b40b6dae2503d4 /arch/microblaze/include | |
parent | 16f6e9989293ba32e33c4a2a9b29a1d77c321723 (diff) | |
download | op-kernel-dev-f1525765fb9c432f5dc5d0d18102fbe9980a14ae.zip op-kernel-dev-f1525765fb9c432f5dc5d0d18102fbe9980a14ae.tar.gz |
microblaze: Fix consistent code
This patch fix consistent code which had problems with consistent_free
function.
I am not sure if we need to call flush_tlb_all after it but it keeps
tlbs synced.
I added noMMU and MMU version together.
Uncached shadow feature is not tested.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/pgtable.h b/arch/microblaze/include/asm/pgtable.h index 16a117e..ca2d928 100644 --- a/arch/microblaze/include/asm/pgtable.h +++ b/arch/microblaze/include/asm/pgtable.h @@ -568,7 +568,7 @@ void __init *early_get_page(void); extern unsigned long ioremap_bot, ioremap_base; void *consistent_alloc(int gfp, size_t size, dma_addr_t *dma_handle); -void consistent_free(void *vaddr); +void consistent_free(size_t size, void *vaddr); void consistent_sync(void *vaddr, size_t size, int direction); void consistent_sync_page(struct page *page, unsigned long offset, size_t size, int direction); |