[PATCH] Re: 2.6.19 git compile error - "current_is_keventd" [drivers/net/phy/libphy.ko] undefined
[EMAIL PROTECTED] wrote: to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2006/12/04/18:00 CST Building modules, stage 2. Kernel: arch/x86_64/boot/bzImage is ready (#2) MODPOST 1256 modules WARNING: "current_is_keventd" [drivers/net/phy/libphy.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 xboom Here's a patch with the easy fix, but I'm not certain it's a permanent fix. Frank This patch fixes a compile error when CONFIG_PHYLIB is a module. Signed-off-by: Frank Sorenson <[EMAIL PROTECTED]> --- kernel/workqueue.c |1 + 1 file changed, 1 insertion(+) Index: linux-2.6.19-fs1/kernel/workqueue.c === --- linux-2.6.19-fs1.orig/kernel/workqueue.c 2006-12-04 22:21:06.0 -0600 +++ linux-2.6.19-fs1/kernel/workqueue.c 2006-12-04 22:59:55.0 -0600 @@ -608,6 +608,7 @@ return ret; } +EXPORT_SYMBOL_GPL(current_is_keventd); #ifdef CONFIG_HOTPLUG_CPU /* Take the work from this (downed) CPU. */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] Re: 2.6.19 git compile error - current_is_keventd [drivers/net/phy/libphy.ko] undefined
[EMAIL PROTECTED] wrote: to: linux-kernel@vger.kernel.org cc: [EMAIL PROTECTED] 2006/12/04/18:00 CST Building modules, stage 2. Kernel: arch/x86_64/boot/bzImage is ready (#2) MODPOST 1256 modules WARNING: current_is_keventd [drivers/net/phy/libphy.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 xboom Here's a patch with the easy fix, but I'm not certain it's a permanent fix. Frank This patch fixes a compile error when CONFIG_PHYLIB is a module. Signed-off-by: Frank Sorenson [EMAIL PROTECTED] --- kernel/workqueue.c |1 + 1 file changed, 1 insertion(+) Index: linux-2.6.19-fs1/kernel/workqueue.c === --- linux-2.6.19-fs1.orig/kernel/workqueue.c 2006-12-04 22:21:06.0 -0600 +++ linux-2.6.19-fs1/kernel/workqueue.c 2006-12-04 22:59:55.0 -0600 @@ -608,6 +608,7 @@ return ret; } +EXPORT_SYMBOL_GPL(current_is_keventd); #ifdef CONFIG_HOTPLUG_CPU /* Take the work from this (downed) CPU. */ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/