diff options
Diffstat (limited to 'arch/um/os-Linux/skas/process.c')
| -rw-r--r-- | arch/um/os-Linux/skas/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c index d36c89c24a45..b14829469fae 100644 --- a/arch/um/os-Linux/skas/process.c +++ b/arch/um/os-Linux/skas/process.c | |||
| @@ -341,7 +341,7 @@ void userspace(struct uml_pt_regs *regs) | |||
| 341 | int local_using_sysemu; | 341 | int local_using_sysemu; |
| 342 | 342 | ||
| 343 | if (getitimer(ITIMER_VIRTUAL, &timer)) | 343 | if (getitimer(ITIMER_VIRTUAL, &timer)) |
| 344 | printk("Failed to get itimer, errno = %d\n", errno); | 344 | printk(UM_KERN_ERR "Failed to get itimer, errno = %d\n", errno); |
| 345 | nsecs = timer.it_value.tv_sec * UM_NSEC_PER_SEC + | 345 | nsecs = timer.it_value.tv_sec * UM_NSEC_PER_SEC + |
| 346 | timer.it_value.tv_usec * UM_NSEC_PER_USEC; | 346 | timer.it_value.tv_usec * UM_NSEC_PER_USEC; |
| 347 | nsecs += os_nsecs(); | 347 | nsecs += os_nsecs(); |
| @@ -388,7 +388,7 @@ void userspace(struct uml_pt_regs *regs) | |||
| 388 | 388 | ||
| 389 | if (WIFSTOPPED(status)) { | 389 | if (WIFSTOPPED(status)) { |
| 390 | int sig = WSTOPSIG(status); | 390 | int sig = WSTOPSIG(status); |
| 391 | switch(sig) { | 391 | switch (sig) { |
| 392 | case SIGSEGV: | 392 | case SIGSEGV: |
| 393 | if (PTRACE_FULL_FAULTINFO || | 393 | if (PTRACE_FULL_FAULTINFO || |
| 394 | !ptrace_faultinfo) { | 394 | !ptrace_faultinfo) { |
| @@ -641,7 +641,7 @@ int start_idle_thread(void *stack, jmp_buf *switch_buf) | |||
| 641 | * after returning to the jumper. | 641 | * after returning to the jumper. |
| 642 | */ | 642 | */ |
| 643 | n = setjmp(initial_jmpbuf); | 643 | n = setjmp(initial_jmpbuf); |
| 644 | switch(n) { | 644 | switch (n) { |
| 645 | case INIT_JMP_NEW_THREAD: | 645 | case INIT_JMP_NEW_THREAD: |
| 646 | (*switch_buf)[0].JB_IP = (unsigned long) new_thread_handler; | 646 | (*switch_buf)[0].JB_IP = (unsigned long) new_thread_handler; |
| 647 | (*switch_buf)[0].JB_SP = (unsigned long) stack + | 647 | (*switch_buf)[0].JB_SP = (unsigned long) stack + |
