Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176141
b: refs/heads/master
c: 11d5136
h: refs/heads/master
i:
  176139: 839a4f6
v: v3
  • Loading branch information
Michal Simek committed Dec 14, 2009
1 parent 10ac37f commit eb544e7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3c5e56724d27104f242523d994204a866e05fb54
refs/heads/master: 11d5136043424ec6980293210ae774d3ab9646b2
4 changes: 4 additions & 0 deletions trunk/arch/microblaze/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include <linux/errno.h>
#include <asm/signal.h>

#undef DEBUG

/* The size of a state save frame. */
#define STATE_SAVE_SIZE (PT_SIZE + STATE_SAVE_ARG_SPACE)

Expand Down Expand Up @@ -352,10 +354,12 @@ C_ENTRY(_user_exception):
add r12, r12, r12; /* convert num -> ptr */
add r12, r12, r12;

#ifdef DEBUG
/* Trac syscalls and stored them to r0_ram */
lwi r3, r12, 0x400 + r0_ram
addi r3, r3, 1
swi r3, r12, 0x400 + r0_ram
#endif

# Find and jump into the syscall handler.
lwi r12, r12, sys_call_table
Expand Down

0 comments on commit eb544e7

Please sign in to comment.