added EXPORT_SYMBOL_GPL() compat macro
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 18 Jun 2003 18:07:00 +0000 (18:07 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 18 Jun 2003 18:07:00 +0000 (18:07 +0000)
include/linux/module.h

index e0c6aaf96f7a41729ec4d7eb460c3af07e2a5ce6..51693371d3dcc4ada7bee68ddf7f9e1601875a39 100644 (file)
 #define MODULE_LICENSE(x)
 #endif
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,11)
+#define EXPORT_SYMBOL_GPL(x) EXPORT_SYMBOL(x)
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)                /* ? */
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)
   #ifdef MODULE