vserver 2.0 rc7
[linux-2.6.git] / arch / um / kernel / tt / syscall_kern.c
index c02e504..2650a62 100644 (file)
@@ -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(&regs->regs);
 
        if((syscall >= NR_syscalls) || (syscall < 0))