author: Jeff Dike <jdike@addtoit.com> 2006-09-25 23:33:05 -0700
committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-09-26 08:49:08 -0700
commit: 537ae946e808d0f22d660f7a3500832fe0c07d14
parent: 4b84c69b5f6c08a540e3683f1360a6cdef2806c7
Commit Summary:
Diffstat:
1 file changed, 5 insertions, 1 deletion
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c
index 88ff0de95cd3..42e3d1ed802c 100644
--- a/arch/um/os-Linux/skas/process.c
+++ b/arch/um/os-Linux/skas/process.c
@@ -155,11 +155,15 @@ extern int __syscall_stub_start;
static int userspace_tramp(void *stack)
{
void *addr;
+ int err;
ptrace(PTRACE_TRACEME, 0, 0, 0);
init_new_thread_signals();
- enable_timer();
+ err = set_interval(1);
+ if(err)
+ panic("userspace_tramp - setting timer failed, errno = %d\n",
+ err);
if(!proc_mm){
/* This has a pte, but it can't be mapped in with the usual