Re: [PATCH] module: Fix compile error for ref_module when CONFIG_MODULES is not set

2012-08-06 Thread Barbaros Tokaoğlu
to me. However, if ref_module is exported only for ksplice, then you can ignore this patch. Thanks, Barbaros On Aug 6, 2012, at 9:58 AM, Rusty Russell wrote: > On Wed, 1 Aug 2012 20:57:07 +0300, Barbaros Tokaoğlu > wrote: >> ref_module function is not defined when CONFIG_MODULE

[PATCH] module: Fix compile error for ref_module when CONFIG_MODULES is not set

2012-08-01 Thread Barbaros Tokaoğlu
ref_module function is not defined when CONFIG_MODULES is not set thus it causes compile error when a module which is set to be built-in uses it. This patch defines a dummy ref_module function when CONFIG_MODULES is not set. Signed-off-by: Barbaros Tokaoğlu --- include/linux/module.h |5