[PATCH][2.5] fix link due to register_cpu_notifier & flow_cache_init

From: Zwane Mwaikambo (zwane@linuxpower.ca)
Date: Sat Jun 14 2003 - 19:06:13 EST


On Sat, 14 Jun 2003, Gerhard Mack wrote:

> Got this on a fresh tree:
>
> net/built-in.o(.init.text+0x209): In function `flow_cache_init':
> : undefined reference to `register_cpu_notifier'
> make: *** [.tmp_vmlinux1] Error 1

Index: linux-2.5-pgcl/net/core/flow.c
===================================================================
RCS file: /home/cvs/linux-2.5/net/core/flow.c,v
retrieving revision 1.7
diff -u -p -B -r1.7 flow.c
--- linux-2.5-pgcl/net/core/flow.c 21 Jun 2003 16:16:59 -0000 1.7
+++ linux-2.5-pgcl/net/core/flow.c 14 Jun 2003 23:05:49 -0000
@@ -13,6 +13,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
+#include <linux/cpu.h>
 #include <linux/smp.h>
 #include <linux/completion.h>
 #include <linux/percpu.h>

-- 
function.linuxpower.ca
-
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/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:40 EST