Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148589
b: refs/heads/master
c: 81f7f45
h: refs/heads/master
i:
  148587: 4e9fdfa
v: v3
  • Loading branch information
Robin Getz authored and Mike Frysinger committed Jun 12, 2009
1 parent 6b4af81 commit 3135fe1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a990614264f04879d9608da1cfcf9a6596efe08
refs/heads/master: 81f7f45606812f1d15d618c2646d0f33ca111f87
10 changes: 10 additions & 0 deletions trunk/arch/blackfin/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
({ if (0) printk(fmt, ##arg); 0; })
#endif

#if defined(CONFIG_DEBUG_MMRS) || defined(CONFIG_DEBUG_MMRS_MODULE)
u32 last_seqstat;
#ifdef CONFIG_DEBUG_MMRS_MODULE
EXPORT_SYMBOL(last_seqstat);
#endif
#endif

/* Initiate the event table handler */
void __init trap_init(void)
{
Expand Down Expand Up @@ -245,6 +252,9 @@ asmlinkage void trap_c(struct pt_regs *fp)
unsigned long trapnr = fp->seqstat & SEQSTAT_EXCAUSE;

trace_buffer_save(j);
#if defined(CONFIG_DEBUG_MMRS) || defined(CONFIG_DEBUG_MMRS_MODULE)
last_seqstat = (u32)fp->seqstat;
#endif

/* Important - be very careful dereferncing pointers - will lead to
* double faults if the stack has become corrupt
Expand Down

0 comments on commit 3135fe1

Please sign in to comment.