51533b615e
New CRIS sub architecture named v32. From: Dave Jones <davej@redhat.com> Fix swapped kmalloc args Signed-off-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
25 lines
688 B
C
25 lines
688 B
C
#include <linux/config.h>
|
|
#include <linux/module.h>
|
|
#include <linux/irq.h>
|
|
#include <asm/arch/dma.h>
|
|
#include <asm/arch/intmem.h>
|
|
#include <asm/arch/pinmux.h>
|
|
|
|
/* Functions for allocating DMA channels */
|
|
EXPORT_SYMBOL(crisv32_request_dma);
|
|
EXPORT_SYMBOL(crisv32_free_dma);
|
|
|
|
/* Functions for handling internal RAM */
|
|
EXPORT_SYMBOL(crisv32_intmem_alloc);
|
|
EXPORT_SYMBOL(crisv32_intmem_free);
|
|
EXPORT_SYMBOL(crisv32_intmem_phys_to_virt);
|
|
EXPORT_SYMBOL(crisv32_intmem_virt_to_phys);
|
|
|
|
/* Functions for handling pinmux */
|
|
EXPORT_SYMBOL(crisv32_pinmux_alloc);
|
|
EXPORT_SYMBOL(crisv32_pinmux_dealloc);
|
|
|
|
/* Functions masking/unmasking interrupts */
|
|
EXPORT_SYMBOL(mask_irq);
|
|
EXPORT_SYMBOL(unmask_irq);
|