Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47467
b: refs/heads/master
c: 6d1b18b
h: refs/heads/master
i:
  47465: 1646ee4
  47463: c37e741
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 11, 2007
1 parent 3b4aa41 commit c23bb2a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 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: b42e1eacc1f245581a2f7580ec1082ff4d6c65cd
refs/heads/master: 6d1b18b16fc917e5c9af568a53c7e37923821d70
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 @@ -61,7 +61,6 @@ extern int set_signals(int enable);
extern void force_sigbus(void);
extern int pid_to_processor_id(int pid);
extern void deliver_signals(void *t);
extern int next_syscall_index(int max);
extern int next_trap_index(int max);
extern void default_idle(void);
extern void finish_fork(void);
Expand Down
16 changes: 0 additions & 16 deletions trunk/arch/um/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,22 +149,6 @@ long sys_olduname(struct oldold_utsname __user * name)
return error;
}

DEFINE_SPINLOCK(syscall_lock);

static int syscall_index = 0;

int next_syscall_index(int limit)
{
int ret;

spin_lock(&syscall_lock);
ret = syscall_index;
if(++syscall_index == limit)
syscall_index = 0;
spin_unlock(&syscall_lock);
return(ret);
}

int kernel_execve(const char *filename, char *const argv[], char *const envp[])
{
mm_segment_t fs;
Expand Down

0 comments on commit c23bb2a

Please sign in to comment.