* How to distinguish original kernel vs -rt kernel @ 2007-03-07 9:38 Pierre Peiffer 2007-03-07 9:54 ` Thomas Gleixner 0 siblings, 1 reply; 3+ messages in thread From: Pierre Peiffer @ 2007-03-07 9:38 UTC (permalink / raw) To: Ingo Molnar; +Cc: LKML, Thomas Gleixner, Sébastien Dugué 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 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 ? Thanks, -- Pierre ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to distinguish original kernel vs -rt kernel 2007-03-07 9:38 How to distinguish original kernel vs -rt kernel Pierre Peiffer @ 2007-03-07 9:54 ` Thomas Gleixner 2007-03-07 13:00 ` Pierre Peiffer 0 siblings, 1 reply; 3+ messages in thread From: Thomas Gleixner @ 2007-03-07 9:54 UTC (permalink / raw) To: Pierre Peiffer; +Cc: Ingo Molnar, LKML, Sébastien Dugué 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 ? It is HRTIMER_MODE_xx in mainline as of 2.6.21-rc1. -rt kernels are always a bit ahead of time. :) tglx ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to distinguish original kernel vs -rt kernel 2007-03-07 9:54 ` Thomas Gleixner @ 2007-03-07 13:00 ` Pierre Peiffer 0 siblings, 0 replies; 3+ messages in thread From: Pierre Peiffer @ 2007-03-07 13:00 UTC (permalink / raw) To: tglx; +Cc: LKML, Sébastien Dugué 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-07 13:01 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-03-07 9:38 How to distinguish original kernel vs -rt kernel Pierre Peiffer 2007-03-07 9:54 ` Thomas Gleixner 2007-03-07 13:00 ` Pierre Peiffer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox