Re: [patch 2/3] RCU move trace defines to rcupdate_types.h

Steven Rostedt
2009-04-17T01:23:34Z

On Thu, 16 Apr 2009, Jeremy Fitzhardinge wrote:

> I don't think this helps. rcupdate_types.h uses preempt_disable/enable, but
> doesn't include linux/preempt.h for them - but someone's going to have to, so
> you've got an implicit dependency on the user to #include the right headers in
> advance.

Would including linux/preempt.h in rcupdate_types.h be a problem?

-- Steve