<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: [PATCH 2.2.17] _SMP_ doesn't export tasklist_lock needed in cipe.h
From: ratz <ratz,AT,tac,DOT,ch>
Date: Mon, 27 Nov 2000 19:55:26 +0100

Hi,

This is my first post to this list, so please bear with me if
I did something wrong or if this has already been discussed to
death.

I wanted to use the cipcb.o module with an SMP kernel on a SMP
machine. Unfortunately the tasklist_lock doesn't get exported.
However this is needed to load the module under a SMP kernel.

This trivial patch includes it. However I ask the author to cross-
check its correctness since I'm not sure if he really wanted it
that way because I can load the module but I can't get a tunnel
interface configured and running with ciped-cb -o myconfig. But
this may also be due to my lack of knowledge about how cipe works.

--- linux-orig/kernel/ksyms.c   Mon Sep  4 19:39:28 2000
+++ linux-2.2.17.PAB2/kernel/ksyms.c    Mon Nov 27 18:30:35 2000
@@ -298,6 +298,7 @@
 /* Various random spinlocks we want to export */
 EXPORT_SYMBOL(tqueue_lock);
 EXPORT_SYMBOL(waitqueue_lock);
+EXPORT_SYMBOL(tasklist_lock);
 #endif
 
 /*

Best regards,
Roberto Nibali, ratz

-- 
mailto: `echo NrOatSz,AT,tPacA,DOT,cMh | sed 's/[NOSPAM]//g'`





<< | Thread Index | >> ]    [ << | Date Index | >> ]