Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207159
b: refs/heads/master
c: 2d495eb
h: refs/heads/master
i:
  207157: 306fc75
  207155: df23887
  207151: a7bd46e
v: v3
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent 89b619e commit d56d9fb
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b4e8a1813c7d65a7c28a3536da08444c21f2c37b
refs/heads/master: 2d495ebc55f0d5a7ac488716230d817d43818549
6 changes: 6 additions & 0 deletions trunk/arch/cris/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

extern int find_fixup_code(struct pt_regs *);
extern void die_if_kernel(const char *, struct pt_regs *, long);
extern void show_registers(struct pt_regs *regs);

/* debug of low-level TLB reload */
#undef DEBUG
Expand Down Expand Up @@ -195,6 +196,11 @@ do_page_fault(unsigned long address, struct pt_regs *regs,
"address %08lx at pc %08lx\n",
tsk->comm, tsk->pid,
address, instruction_pointer(regs));

/* With DPG on, we've already dumped registers above. */
DPG(if (0))
show_registers(regs);

#ifdef CONFIG_NO_SEGFAULT_TERMINATION
DECLARE_WAIT_QUEUE_HEAD(wq);
wait_event_interruptible(wq, 0 == 1);
Expand Down

0 comments on commit d56d9fb

Please sign in to comment.