lkml.org 
[lkml]   [2006]   [Dec]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 04 Dec 2006 23:08:47 -0600
FromFrank Sorenson <>
Subject[PATCH] Re: 2.6.19 git compile error - "current_is_keventd" [drivers/net/phy/libphy.ko] undefined
art@usfltd.com wrote:
> to: linux-kernel@vger.kernel.org
> cc: torvalds@osdl.org
> 
> 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 <frank@tuxrocks.com>

---
  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.000000000 -0600
+++ linux-2.6.19-fs1/kernel/workqueue.c	2006-12-04 22:59:55.000000000 -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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-12-05 05:13    [from the cache]
©2003-2008