diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-10-20 15:10:15 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-10-20 15:10:15 +0200 |
commit | f9221297f9ddbdda82363ec15a6979754bdba318 (patch) | |
tree | 66e04f7e15213f2c88f917ba46144f690d0b5ccc | |
parent | fcb3895a69516d0b3c93319fb8755097be81e5a9 (diff) |
2.6.19 compatibility.
-rw-r--r-- | generic.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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> |