On Thu, Jan 12, 2012 at 09:11:54PM -0500, Josh Stone wrote: > On 01/11/2012 06:27 PM, Nicolas Viéville wrote: > >> Didn't Chuck change it so LINUX_VERSION_CODE always calls itself 3.x > >> now? If so, then you shouldn't need any cpp to consider 2.6.4x, as > >> that's only for the utsname. > > > > If I understand correctly what you mean, this macro (on one line) > > > > #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) || (LINUX_VERSION_CODE > >> = KERNEL_VERSION(2, 6, 42) && LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, > > 0)) > > > > would be equivalent and have the same behavior of this one > > > > #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) > > > > in F-15 as in F-16? > > Yes, that should work. That change was made starting in the 2.6.41.3-1 > package to leave LINUX_VERSION_CODE as the real 3.x version. Right. If this doesn't work, let us know. Dave _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel