Commit a missing piece of r344452.

MFC with:	r344452
This commit is contained in:
markj 2019-02-21 22:56:54 +00:00
parent 57c4e2d807
commit 04f9fc1a7a

View File

@ -1080,7 +1080,11 @@ fasttrap_pid_probe(struct trapframe *tf)
* been removed, and retry the instruction.
*/
curthread->t_fasttrap_tp_gen = gen;
#ifdef __amd64
tf->tf_rip = pc;
#else
tf->tf_eip = pc;
#endif
return (0);
}
return (-1);