Messages in this thread | | | Date | Sat, 8 Jan 2005 19:54:40 +0100 | Subject | Re: kernel versions on Linus bk tree | From | Vincent Hanquez <> |
| |
On Sat, Jan 08, 2005 at 01:23:20PM -0500, Jon Smirl wrote: > I just came across a problem with the way the kernel is being > versioned. The DRM driver needs an IFDEF for the four level page table > change depending on kernel version built against. I used this: > #if LINUX_VERSION_CODE < 0x02060a
you might probably use KERNEL_VERSION here which is more convenient: #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
> The problem is that 2.6.10 was released on kernel.org without the four > level change. But Linus bk which also has version 2.6.10 has the > change. Is there some way around this problem?
include/linux/version.h is generated by the Makefile. This file do not come with the source.
-- Vincent Hanquez - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |