summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-20 15:10:15 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-20 15:10:15 +0200
commitf9221297f9ddbdda82363ec15a6979754bdba318 (patch)
tree66e04f7e15213f2c88f917ba46144f690d0b5ccc
parentfcb3895a69516d0b3c93319fb8755097be81e5a9 (diff)
2.6.19 compatibility.
-rw-r--r--generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic.c b/generic.c
index 616ce25..a4d17f1 100644
--- a/generic.c
+++ b/generic.c
@@ -27,7 +27,10 @@
* TODO:
* - Allocate more than order 0 pages to avoid too much linear map splitting.
*/
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
#include <linux/config.h>
+#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>