[PATCH] Re: 2.6.19 git compile error - "current_is_keventd" [drivers/net/phy/libphy.ko] undefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[email protected] wrote:
to: [email protected]
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.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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux