diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-04 22:31:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:30 -0800 |
commit | a9b71b6c5473d2c1526deac0a1a207fe476f6088 (patch) | |
tree | af124559352283f663671bb59fa6346a1cc913ad /arch/um/kernel | |
parent | 00a905e6145ba200308a6a13e00248b85c600bd0 (diff) | |
download | blackbird-op-linux-a9b71b6c5473d2c1526deac0a1a207fe476f6088.tar.gz blackbird-op-linux-a9b71b6c5473d2c1526deac0a1a207fe476f6088.zip |
uml: get rid of syscall counters
Get rid of some syscall counters which haven't been useful in ages.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/skas/syscall.c | 3 | ||||
-rw-r--r-- | arch/um/kernel/syscall.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/um/kernel/skas/syscall.c b/arch/um/kernel/skas/syscall.c index 50b476f2b38d..6450f024290f 100644 --- a/arch/um/kernel/skas/syscall.c +++ b/arch/um/kernel/skas/syscall.c @@ -17,9 +17,6 @@ void handle_syscall(struct uml_pt_regs *r) syscall_trace(r, 0); - current->thread.nsyscalls++; - nsyscalls++; - /* * This should go in the declaration of syscall, but when I do that, * strace -f -c bash -c 'ls ; ls' breaks, sometimes not tracing diff --git a/arch/um/kernel/syscall.c b/arch/um/kernel/syscall.c index b9d92b2089ae..9cffc628a37e 100644 --- a/arch/um/kernel/syscall.c +++ b/arch/um/kernel/syscall.c @@ -13,9 +13,6 @@ #include "asm/uaccess.h" #include "asm/unistd.h" -/* Unlocked, I don't care if this is a bit off */ -int nsyscalls = 0; - long sys_fork(void) { long ret; |