[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/3] xen: drop preempt_count() for non-debug builds
>>> On 22.05.19 at 11:45, <jgross@xxxxxxxx> wrote: > @@ -26,9 +28,11 @@ DECLARE_PER_CPU(unsigned int, __preempt_count); > preempt_count()--; \ > } while (0) > > -#ifndef NDEBUG > void ASSERT_NOT_IN_ATOMIC(void); > + > #else > +#define preempt_disable() barrier(); > +#define preempt_enable() barrier(); Stray semicolons (could be dropped while committing if we really want to go this route). Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |