aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/process.c
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.cz>2007-12-12 09:21:16 -0500
committerTony Luck <tony.luck@intel.com>2008-02-08 15:00:54 -0500
commit5aa92ffda1b6244b4a248df0b95c07d183ab96d2 (patch)
tree8375f4960be7a53e4c313037807ff05f99ce1b98 /arch/ia64/kernel/process.c
parentad9e39c70f46c5e17b1ed5912e8693454fec1455 (diff)
[IA64] Rename TIF_PERFMON_WORK back to TIF_NOTIFY_RESUME
Since the RSE synchronization will need a TIF_ flag, but all work-to-be-done bits are already used, so we have to multiplex TIF_NOTIFY_RESUME again. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Petr Tesarik <ptesarik@suse.cz> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/process.c')
-rw-r--r--arch/ia64/kernel/process.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index 7377d323131d..5c9efe626563 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -157,6 +157,15 @@ show_regs (struct pt_regs *regs)
157 show_stack(NULL, NULL); 157 show_stack(NULL, NULL);
158} 158}
159 159
160void tsk_clear_notify_resume(struct task_struct *tsk)
161{
162#ifdef CONFIG_PERFMON
163 if (tsk->thread.pfm_needs_checking)
164 return;
165#endif
166 clear_ti_thread_flag(task_thread_info(tsk), TIF_NOTIFY_RESUME);
167}
168
160void 169void
161do_notify_resume_user (sigset_t *unused, struct sigscratch *scr, long in_syscall) 170do_notify_resume_user (sigset_t *unused, struct sigscratch *scr, long in_syscall)
162{ 171{