diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-10-08 06:03:33 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-08 06:03:33 -0400 |
commit | 9df10281e1c03b1c04d17f387bc59eb932c0bb87 (patch) | |
tree | 53b59aa5f958964c6e846d01fe7ed688f4884088 /arch/blackfin/kernel/traps.c | |
parent | 7eb2c23f602ab35c5f4227bc87945a3c78a14150 (diff) |
Blackfin arch: Use DTEST rather than DMA to poke at L1 SRAM during exception context
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r-- | arch/blackfin/kernel/traps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 0112ba407f63..89cff2c7e8b1 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/irq.h> | 40 | #include <linux/irq.h> |
41 | #include <asm/trace.h> | 41 | #include <asm/trace.h> |
42 | #include <asm/fixed_code.h> | 42 | #include <asm/fixed_code.h> |
43 | #include <asm/dma.h> | ||
44 | 43 | ||
45 | #ifdef CONFIG_KGDB | 44 | #ifdef CONFIG_KGDB |
46 | # include <linux/kgdb.h> | 45 | # include <linux/kgdb.h> |
@@ -632,7 +631,7 @@ bool get_instruction(unsigned short *val, unsigned short *address) | |||
632 | 631 | ||
633 | #if L1_CODE_LENGTH != 0 | 632 | #if L1_CODE_LENGTH != 0 |
634 | if (addr >= L1_CODE_START && (addr + 2) <= (L1_CODE_START + L1_CODE_LENGTH)) { | 633 | if (addr >= L1_CODE_START && (addr + 2) <= (L1_CODE_START + L1_CODE_LENGTH)) { |
635 | dma_memcpy(val, address, 2); | 634 | isram_memcpy(val, address, 2); |
636 | return true; | 635 | return true; |
637 | } | 636 | } |
638 | #endif | 637 | #endif |