Re: How to distinguish original kernel vs -rt kernel

2007-03-07 Thread Pierre Peiffer
Thomas Gleixner a écrit : It is HRTIMER_MODE_xx in mainline as of 2.6.21-rc1. -rt kernels are always a bit ahead of time. :) Great ! Thanks. -- Pierre - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info a

Re: How to distinguish original kernel vs -rt kernel

2007-03-07 Thread Thomas Gleixner
On Wed, 2007-03-07 at 10:38 +0100, Pierre Peiffer wrote: > In fact, I'm facing the problem of HRTIMER_ABS/REL being renamed to > HRTIMER_MODE_ABS/REL with patch -rt. Is there a reason of this ? > > Does anyone have an objection of keeping it the same (let's say > HRTIMER_ABS/REL) in kernel -rt ?

How to distinguish original kernel vs -rt kernel

2007-03-07 Thread Pierre Peiffer
Hi, Supposing I have an external kernel module which I would like to compile against both original kernel and -rt kernel, what is the proper/most elegant way to know which kernel I'm compiling with ? I've only found the EXTRAVERSION define, am I missing a better way ? In fact, I'm facing the