Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349718
b: refs/heads/master
c: 570fd50
h: refs/heads/master
v: v3
  • Loading branch information
Chris Metcalf committed Feb 8, 2013
1 parent 8dab359 commit 207f24c
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: f456da5e1305672c86e2cbe07483388a75a9bb2e
refs/heads/master: 570fd501530c8816fabde9b87efd947eb442f8e9
4 changes: 4 additions & 0 deletions trunk/arch/tile/kernel/intvec_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,9 @@ handle_syscall:
/* Ensure that the syscall number is within the legal range. */
{
moveli r20, hw2(sys_call_table)
#ifdef CONFIG_COMPAT
blbs r30, .Lcompat_syscall
#endif
}
{
cmpltu r21, TREG_SYSCALL_NR_NAME, r21
Expand Down Expand Up @@ -1093,6 +1095,7 @@ handle_syscall:
j .Lresume_userspace /* jump into middle of interrupt_return */
}

#ifdef CONFIG_COMPAT
.Lcompat_syscall:
/*
* Load the base of the compat syscall table in r20, and
Expand All @@ -1117,6 +1120,7 @@ handle_syscall:
{ move r15, r4; addxi r4, r4, 0 }
{ move r16, r5; addxi r5, r5, 0 }
j .Lload_syscall_pointer
#endif

.Linvalid_syscall:
/* Report an invalid syscall back to the user program */
Expand Down

0 comments on commit 207f24c

Please sign in to comment.