diff options
99 files changed, 344 insertions, 882 deletions
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h index 28335bd40e40..4554ecbff7c6 100644 --- a/arch/alpha/include/asm/thread_info.h +++ b/arch/alpha/include/asm/thread_info.h | |||
| @@ -84,7 +84,6 @@ register struct thread_info *__current_thread_info __asm__("$8"); | |||
| 84 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 84 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
| 85 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) | 85 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
| 86 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) | 86 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
| 87 | #define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) | ||
| 88 | #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) | 87 | #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) |
| 89 | 88 | ||
| 90 | /* Work to do on interrupt/exception return. */ | 89 | /* Work to do on interrupt/exception return. */ |
| @@ -117,5 +116,7 @@ register struct thread_info *__current_thread_info __asm__("$8"); | |||
| 117 | (int __user *)(value)); \ | 116 | (int __user *)(value)); \ |
| 118 | }) | 117 | }) |
| 119 | 118 | ||
| 119 | #define tsk_is_polling(t) test_tsk_thread_flag(t, TIF_POLLING_NRFLAG) | ||
| 120 | |||
| 120 | #endif /* __KERNEL__ */ | 121 | #endif /* __KERNEL__ */ |
| 121 | #endif /* _ALPHA_THREAD_INFO_H */ | 122 | #endif /* _ALPHA_THREAD_INFO_H */ |
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S index 7e43e1156d10..2a359c9ee3cd 100644 --- a/arch/alpha/kernel/entry.S +++ b/arch/alpha/kernel/entry.S | |||
| @@ -418,11 +418,10 @@ $work_notifysig: | |||
| 418 | strace: | 418 | strace: |
| 419 | /* set up signal stack, call syscall_trace */ | 419 | /* set up signal stack, call syscall_trace */ |
| 420 | bsr $1, do_switch_stack | 420 | bsr $1, do_switch_stack |
| 421 | jsr $26, syscall_trace | 421 | jsr $26, syscall_trace_enter /* returns the syscall number */ |
| 422 | bsr $1, undo_switch_stack | 422 | bsr $1, undo_switch_stack |
| 423 | 423 | ||
| 424 | /* get the system call number and the arguments back.. */ | 424 | /* get the arguments back.. */ |
| 425 | ldq $0, 0($sp) | ||
| 426 | ldq $16, SP_OFF+24($sp) | 425 | ldq $16, SP_OFF+24($sp) |
| 427 | ldq $17, SP_OFF+32($sp) | 426 | ld |
