Merge branch 'core/urgent' into core/entry
[sfrench/cifs-2.6.git] / kernel / entry / kvm.c
index b828a3ddebf130756121d49776505fd52933d5bc..49972ee99aff6a5f033a18cb9f90fd91c0c0e211 100644 (file)
@@ -19,10 +19,8 @@ static int xfer_to_guest_mode_work(struct kvm_vcpu *vcpu, unsigned long ti_work)
                if (ti_work & _TIF_NEED_RESCHED)
                        schedule();
 
-               if (ti_work & _TIF_NOTIFY_RESUME) {
-                       clear_thread_flag(TIF_NOTIFY_RESUME);
+               if (ti_work & _TIF_NOTIFY_RESUME)
                        tracehook_notify_resume(NULL);
-               }
 
                ret = arch_xfer_to_guest_mode_handle_work(vcpu, ti_work);
                if (ret)