[Patch] Compile fix for 2.6.0-test5-mm4 in net/atm/proc.c

From: Remi Colinet
Date: Mon Sep 22 2003 - 14:47:10 EST


Hi,

--- linux-2.6.0-test5-mm4/net/atm/proc.c 2003-09-22 21:42:09.000000000 +0200
+++ linux-2.6.0-test5-mm4-new/net/atm/proc.c 2003-09-22 21:44:24.000000000 +0200
@@ -192,7 +192,9 @@
goto out_kfree;

state->family = family;
+#if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE)
state->clip_info = try_atm_clip_ops();
+#endif

seq = file->private_data;
seq->private = state;

This patch fixes the following compile error :

CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
net/built-in.o: In function `__vcc_seq_open':
/usr/src/mm/net/atm/proc.c:195: undefined reference to `try_atm_clip_ops'
make: *** [.tmp_vmlinux1] Error 1

Remi


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/