From 601d6dd8abe17b76b45016770bda2d3e2ae6a361 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 18 Jun 2003 18:07:00 +0000 Subject: [PATCH] added EXPORT_SYMBOL_GPL() compat macro --- include/linux/module.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/module.h b/include/linux/module.h index e0c6aaf9..51693371 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -17,6 +17,10 @@ #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 -- 2.26.2