On Fri, Oct 30, 2020 at 07:31:24PM -0400, Steven Rostedt wrote: > Note, I thought that in_nmi() and friends was in interrupt.h, but is > really in preempt.h. All the values used in Peter's code is also > defined in preempt.h, so why not have something like that there? > > I take back adding it to interrupt.h but have it in preempt.h, as it's > not defining anything new there.
Yeah, preempt.h is the right place for it.