[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future kernel version number for F-15



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.

_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel



[Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

Powered by Linux