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

From: Steven Rostedt
Date: Thu Apr 16 2009 - 21:23:34 EST



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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/