#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0) /* ? */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)
#ifdef MODULE
- /* don't ask. It works. */
- #define THIS_MODULE ((struct module *)&mod_use_count_)
+ /* don't ask. It works. */
+ #define THIS_MODULE ((struct module *)&mod_use_count_)
#else
- #define THIS_MODULE NULL
+ #define THIS_MODULE NULL
#endif
#define __MOD_INC_USE_COUNT(x) ((*(long *)(x))++, (*(long *)(x)) |= MOD_VISITED)
#define __MOD_DEC_USE_COUNT(x) ((*(long *)(x))--, (*(long *)(x)) |= MOD_VISITED)
#else
#ifdef MODULE
- #define THIS_MODULE &__this_module
+ #define THIS_MODULE &__this_module
#else
- #define THIS_MODULE NULL
+ #define THIS_MODULE NULL
+ #endif
#endif
#endif