Dne 19.6.2014 16:44, Kamal Mostafa napsal(a): > Adds new macro KERNEL_EXTRAVERSION(a,b,c,d) and value > LINUX_EXTRAVERSION_CODE to version.h, allowing ranged version checks of > extended-stable versions that use a numeric EXTRAVERSION value. > > The new KERNEL_EXTRAVERSION(a,b,c,d) works like KERNEL_VERSION(a,b,c)... > If EXTRAVERSION is set to ".{integer}" (the common extended-stable kernel > version number scheme) then {integer} corresponds to KERNEL_EXTRAVERSION's > fourth arg. If EXTRAVERSION is blank or a non-".{integer}" string like > "-rc5", that corresponds to a fourth parameter of 0. Why don't you guys simply increment the third digit in the extended stable tree and get support for KERNEL_VERSION() for free? You always start after the respective stable branch has reached EOL, don't you? Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html