added check for RH kernel, copied from master, to get past build error

This commit is contained in:
brandonh committed 2008-06-29 18:19:15 -07:00
1 parent 0ac12a6d03
commit cedfdebfd0
1 file changed
+4
@@ -4,6 +4,10 @@
#include_next <linux/timer.h>
#include <linux/version.h>
#ifndef RHEL_RELEASE_VERSION
#define RHEL_RELEASE_VERSION(X,Y) ( 0 )
#endif
#if ((LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)) && \
(!defined(RHEL_RELEASE_CODE) || \
(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(5,1))))