revert r354482, checking for XENHVM was a wrong way of checking for Xen

This commit is contained in:
Andriy Gapon 2019-11-07 21:43:31 +00:00
parent 63f34d0109
commit e688e78187
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354489

View File

@ -135,13 +135,6 @@ int
stack_save_td_running(struct stack *st, struct thread *td)
{
#ifdef XENHVM
/*
* There is no NMI support on Xen, so this code can lead to
* an inter-processor deadlock.
*/
return (EOPNOTSUPP);
#endif /* XENHVM */
#ifdef STACK
THREAD_LOCK_ASSERT(td, MA_OWNED);
MPASS(TD_IS_RUNNING(td));