Re: rb_tree methods export request

Andrea Arcangeli (andrea@suse.de)
Thu, 11 Apr 2002 14:24:47 +0200


On Thu, Apr 11, 2002 at 11:03:47AM +0200, Martin Devera wrote:
> Hello Andrea,
>
> I write to you as to maintainer of rb_tree code in 2.4. I'm
> just finishing module (QoS HTB scheduler) where I need to use
> balanced tree and your rb_tree implementation seems as the best
> one for it.
> Only problem is that rb_delete and athers are not exported so that
> I can't use them in the module.
> Is there some problem to export the symbols or should I duplicate
> the code ?

You don't need to duplicate the code:

ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19pre3aa2/00_rb-export-1

It is just included in 2.4.19pre6 mainline btw, so just updating to the
latest kernel should solve your problem with the module.

2.5 is still missing it, but it should be applied there too eventually.

Andrea
-
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/