2003-06-14 23:57:31

by Gerhard Mack

[permalink] [raw]
Subject: [patch] linux-2.5.71: undefined reference to `register_cpu_notifier'

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

I think this is the right fix for it? Please correct me if I'm wrong.

--- net/core/flow.c~ 2003-06-14 15:17:56.000000000 -0400
+++ net/core/flow.c 2003-06-14 20:07:22.000000000 -0400
@@ -18,6 +18,7 @@
#include <linux/percpu.h>
#include <linux/bitops.h>
#include <linux/notifier.h>
+#include <linux/cpu.h>
#include <net/flow.h>
#include <asm/atomic.h>
#include <asm/semaphore.h>