From: Jens Axboe Date: Thu, 27 Nov 2008 15:03:16 +0000 (+0100) Subject: acall: move syscall nr limit up X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=refs%2Fheads%2Fsyslet;p=linux-2.6-block.git acall: move syscall nr limit up Signed-off-by: Jens Axboe --- 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],