]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/blackfin/kernel/traps.c
Blackfin arch: Use DTEST rather than DMA to poke at L1 SRAM during exception context
[linux-2.6-omap-h63xx.git] / arch / blackfin / kernel / traps.c
index 0112ba407f63f27a7aa4367c5b19fca6c4aa629f..89cff2c7e8b1c56ea1a9d4b9e631be9224b79d38 100644 (file)
@@ -40,7 +40,6 @@
 #include <linux/irq.h>
 #include <asm/trace.h>
 #include <asm/fixed_code.h>
-#include <asm/dma.h>
 
 #ifdef CONFIG_KGDB
 # include <linux/kgdb.h>
@@ -632,7 +631,7 @@ bool get_instruction(unsigned short *val, unsigned short *address)
 
 #if L1_CODE_LENGTH != 0
        if (addr >= L1_CODE_START && (addr + 2) <= (L1_CODE_START + L1_CODE_LENGTH)) {
-               dma_memcpy(val, address, 2);
+               isram_memcpy(val, address, 2);
                return true;
        }
 #endif