diff options
Diffstat (limited to 'sys/i386/xen/mp_machdep.c')
-rw-r--r-- | sys/i386/xen/mp_machdep.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/i386/xen/mp_machdep.c b/sys/i386/xen/mp_machdep.c index 2cd0762..670d110 100644 --- a/sys/i386/xen/mp_machdep.c +++ b/sys/i386/xen/mp_machdep.c @@ -1216,22 +1216,6 @@ cpustop_handler(void) } } -void -md_assert_nopreempt(void) -{ -#ifdef INVARIANTS - struct thread *td; - register_t rflags; - - td = curthread; - rflags = read_rflags(); - - if ((rflags & PSL_I) != 0 && td->td_critnest <= 0) - panic("Preemption still allowed, thread %s\n", - (td->td_pinned <= 0) ? "not pinned" : "pinned"); -#endif -} - /* * This is called once the rest of the system is up and running and we're * ready to let the AP's out of the pen. |