Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44322
b: refs/heads/master
c: 79890c5
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Dec 11, 2006
1 parent 74323bf commit eab1f2e
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: b652c23cb0f7808bedb5442c416d91705a465c67
refs/heads/master: 79890c512444aa55a7a42ac5e7d29d7a4edba11b
6 changes: 6 additions & 0 deletions trunk/arch/sh/kernel/sys_sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,12 @@ asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
#endif
}

#if defined(CONFIG_CPU_SH2) || defined(CONFIG_CPU_SH2A)
#define SYSCALL_ARG3 "trapa #0x23"
#else
#define SYSCALL_ARG3 "trapa #0x13"
#endif

/*
* Do a system call from kernel instead of calling sys_execve so we
* end up with proper pt_regs.
Expand Down

0 comments on commit eab1f2e

Please sign in to comment.