Re: [patch] linux/preempt.h needs linux/thread_info.h

2006-12-27 Thread Horms
On Wed, Dec 27, 2006 at 08:27:02AM +, Al Viro wrote: > On Wed, Dec 27, 2006 at 05:17:02PM +0900, Horms wrote: > > It seems that linux/preempt.h needs to include linux/thread_info.h > > in order to access current_thread_info(), which is used in > > preempt_count(). > > > > I guess that all call

Re: [patch] linux/preempt.h needs linux/thread_info.h

2006-12-27 Thread Al Viro
On Wed, Dec 27, 2006 at 05:17:02PM +0900, Horms wrote: > It seems that linux/preempt.h needs to include linux/thread_info.h > in order to access current_thread_info(), which is used in > preempt_count(). > > I guess that all callers of preempt_count() must include > both linux/thread_info.h and li

[patch] linux/preempt.h needs linux/thread_info.h

2006-12-27 Thread Horms
It seems that linux/preempt.h needs to include linux/thread_info.h in order to access current_thread_info(), which is used in preempt_count(). I guess that all callers of preempt_count() must include both linux/thread_info.h and linux/preempt.h directly or indirectly, as this does not cause a comp