Re: Pre-release kernel versioning

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

 



On Mon, 2007-04-30 at 20:04 +0200, Thorsten Leemhuis wrote:
> See include/compat.h ; relevant part:
> 
> #include <linux/version.h>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
> #define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
> #else
> #define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t)
> #endif
> 
> Compiling it against a recent 2.6.21 kernel from rawhide works just fine: 

I've spent a _long_ time maintaining modules outside the kernel tree; I
know about compatibility hacks like this. Trust me; you have a hybrid
thing which is neither 2.6.20 nor 2.6.21. Calling it "2.6.21" instead of
calling it "2.6.20" doesn't actually fix any problems; it only moves
them around.

-- 
dwmw2

_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-kernel-list

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [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]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux