Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228987
b: refs/heads/master
c: 17b9314
h: refs/heads/master
i:
  228985: 47bbf26
  228983: 2f79363
v: v3
  • Loading branch information
Michal Simek committed Jan 3, 2011
1 parent d090f61 commit 96371b2
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 27cbe8d4d1012847029dd8d7af1d6a41c22ddec6
refs/heads/master: 17b931468729df6921981700bf18c75609c2f6af
3 changes: 3 additions & 0 deletions trunk/arch/microblaze/kernel/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <asm/current.h>
#include <asm/cacheflush.h>

#define MICROBLAZE_ILL_OPCODE_EXCEPTION 0x02
#define MICROBLAZE_IBUS_EXCEPTION 0x03
Expand Down Expand Up @@ -52,6 +53,8 @@ void die(const char *str, struct pt_regs *fp, long err)
void sw_exception(struct pt_regs *regs)
{
_exception(SIGTRAP, regs, TRAP_BRKPT, regs->r16);
flush_dcache_range(regs->r16, regs->r16 + 0x4);
flush_icache_range(regs->r16, regs->r16 + 0x4);
}

void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr)
Expand Down

0 comments on commit 96371b2

Please sign in to comment.