module: Prepare for handling several RB trees
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 23 Feb 2022 12:02:12 +0000 (13:02 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Tue, 5 Apr 2022 15:43:05 +0000 (08:43 -0700)
commit446d55666d5599ca58c1ceac25ce4b5191e70835
treeb96674ddac18e8d768d7302ca40b479623c673b9
parent80b8bf4369906aefbcb63a03012aed7a1abcbd18
module: Prepare for handling several RB trees

In order to separate text and data, we need to setup
two rb trees.

Modify functions to give the tree as a parameter.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/internal.h
kernel/module/main.c
kernel/module/tree_lookup.c