Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9960863 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Ingo Molnar
Browse files

x86, xen: do multicall callbacks with interrupts disabled



We can't call the callbacks after enabling interrupts, as we may get a
nested multicall call, which would cause a great deal of havok.

Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3d39e9d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -170,8 +170,6 @@ void xen_mc_flush(void)
	} else
		BUG_ON(b->argidx != 0);

	local_irq_restore(flags);

	for (i = 0; i < b->cbidx; i++) {
		struct callback *cb = &b->callbacks[i];

@@ -179,6 +177,8 @@ void xen_mc_flush(void)
	}
	b->cbidx = 0;

	local_irq_restore(flags);

	WARN_ON(ret);
}