Lines 43-51
Link Here
|
43 |
&& defined(MODULE) \ |
43 |
&& defined(MODULE) \ |
44 |
&& !defined(RT_NO_EXPORT_SYMBOL) |
44 |
&& !defined(RT_NO_EXPORT_SYMBOL) |
45 |
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */ |
45 |
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */ |
46 |
# include <linux/autoconf.h> |
46 |
# include <linux/version.h> |
|
|
47 |
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33) |
48 |
# include <linux/autoconf.h> |
49 |
# else |
50 |
# include <generated/autoconf.h> |
51 |
# endif |
47 |
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS) |
52 |
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS) |
48 |
# include <linux/version.h> |
|
|
49 |
# define MODVERSIONS |
53 |
# define MODVERSIONS |
50 |
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71) |
54 |
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71) |
51 |
# include <linux/modversions.h> |
55 |
# include <linux/modversions.h> |