diff options
author | Robin Getz <robin.getz@analog.com> | 2007-11-15 02:10:48 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-15 02:10:48 -0500 |
commit | 6a3f0b460cea79f08683cef1862d686a887efd8c (patch) | |
tree | 4133b0e4e2af811cd96a4ee722f8453e07082266 /arch/blackfin/kernel/traps.c | |
parent | 0954f70ab1ffd9ad945c88c11877a08baed311c7 (diff) |
Blackfin arch: fix bug cplbmgr.S does not exit properly on error condition
https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=1685
Ensure that cache/protection is turned back on when we get a
fault, and ensure that the initial population of the CPLB tables are
correct - that kernel is locked in CPLB tables
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r-- | arch/blackfin/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index ce9981b5339b..fbdf999bd2b5 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
@@ -670,8 +670,8 @@ void dump_bfin_regs(struct pt_regs *fp, void *retaddr) | |||
670 | printk("\n"); | 670 | printk("\n"); |
671 | } else | 671 | } else |
672 | printk("\n" KERN_NOTICE | 672 | printk("\n" KERN_NOTICE |
673 | "Cannot look at the [PC] for it is" | 673 | "Cannot look at the [PC] <%p> for it is" |
674 | " in unreadable memory - sorry\n"); | 674 | " in unreadable memory - sorry\n", retaddr); |
675 | 675 | ||
676 | printk(KERN_NOTICE "\n" KERN_NOTICE "SEQUENCER STATUS:\n"); | 676 | printk(KERN_NOTICE "\n" KERN_NOTICE "SEQUENCER STATUS:\n"); |
677 | printk(KERN_NOTICE " SEQSTAT: %08lx IPEND: %04lx SYSCFG: %04lx\n", | 677 | printk(KERN_NOTICE " SEQSTAT: %08lx IPEND: %04lx SYSCFG: %04lx\n", |