Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83208
b: refs/heads/master
c: a9b71b6
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent ee9bb4d commit 5830ae8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 00a905e6145ba200308a6a13e00248b85c600bd0
refs/heads/master: a9b71b6c5473d2c1526deac0a1a207fe476f6088
1 change: 0 additions & 1 deletion trunk/arch/um/include/kern_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ extern int uml_exitcode;

extern int ncpus;
extern int kmalloc_ok;
extern int nsyscalls;

#define UML_ROUND_UP(addr) \
((((unsigned long) addr) + PAGE_SIZE - 1) & PAGE_MASK)
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/um/kernel/skas/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/um/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-um/processor-generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ struct thread_struct {
* as of 2.6.11).
*/
int forking;
int nsyscalls;
struct pt_regs regs;
int singlestep_syscall;
void *fault_addr;
Expand Down Expand Up @@ -59,7 +58,6 @@ struct thread_struct {
#define INIT_THREAD \
{ \
.forking = 0, \
.nsyscalls = 0, \
.regs = EMPTY_REGS, \
.fault_addr = NULL, \
.prev_sched = NULL, \
Expand Down

0 comments on commit 5830ae8

Please sign in to comment.