[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>
This commit is contained in:
@@ -157,6 +157,15 @@ show_regs (struct pt_regs *regs)
|
||||
show_stack(NULL, NULL);
|
||||
}
|
||||
|
||||
void tsk_clear_notify_resume(struct task_struct *tsk)
|
||||
{
|
||||
#ifdef CONFIG_PERFMON
|
||||
if (tsk->thread.pfm_needs_checking)
|
||||
return;
|
||||
#endif
|
||||
clear_ti_thread_flag(task_thread_info(tsk), TIF_NOTIFY_RESUME);
|
||||
}
|
||||
|
||||
void
|
||||
do_notify_resume_user (sigset_t *unused, struct sigscratch *scr, long in_syscall)
|
||||
{
|
||||
|
Reference in New Issue
Block a user