summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-11-27 16:03:16 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-11-27 16:03:16 +0100
commit36ff2bec406d81461af8caaa00b2340ea0b8ef82 (patch)
tree70a351d185ae5ec4c8e118398769d6677d8f7b8e
parent9e7666dfbfbbb513865463b5d5ce3a34e29f8d18 (diff)
acall: move syscall nr limit upsyslet
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--kernel/acall.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/acall.c b/kernel/acall.c
index 4acc37857d07..ef698c0c4047 100644
--- a/kernel/acall.c
+++ b/kernel/acall.c
@@ -140,7 +140,12 @@ static long call_syscall(struct acall_submission *sub)
long);
extern syscall_fn_t sys_call_table[];
- if (sub->nr >= 290) /* hee, x86-64 */
+ /*
+ * Obviously this needs some real way of checking for a valid
+ * syscall number. Aditionally, we also want to do some syscalls
+ * always sync
+ */
+ if (sub->nr >= 295) /* hee, x86-64 */
return -ENOSYS;
else
return sys_call_table[sub->nr](sub->args[0], sub->args[1],