X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=blobdiff_plain;f=arch%2Fum%2Fkernel%2Ftt%2Fsyscall_kern.c;h=2650a628719e41136291fae37b44ff9d3c02cb48;hp=c02e504e54c1b331d56b9f198e43f5050a8e1d0c;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475 diff --git a/arch/um/kernel/tt/syscall_kern.c b/arch/um/kernel/tt/syscall_kern.c index c02e504e5..2650a6287 100644 --- a/arch/um/kernel/tt/syscall_kern.c +++ b/arch/um/kernel/tt/syscall_kern.c @@ -22,8 +22,10 @@ long execute_syscall_tt(void *r) long res; int syscall; +#ifdef CONFIG_SYSCALL_DEBUG current->thread.nsyscalls++; nsyscalls++; +#endif syscall = UPT_SYSCALL_NR(®s->regs); if((syscall >= NR_syscalls) || (syscall < 0))