module: each_symbol_section instead of each_symbol
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Apr 2011 19:49:58 +0000 (21:49 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 19 May 2011 07:25:26 +0000 (16:55 +0930)
commitde4d8d53465483168d6a627d409ee2d09d8e3308
treedadc9b82860842dcb970f2898f677e0d2373a2ab
parent01526ed0830643bd53a8434c3068e4c077e1b09d
module: each_symbol_section instead of each_symbol

Instead of having a callback function for each symbol in the kernel,
have a callback for each array of symbols.

This eases the logic when we move to sorted symbols and binary search.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Alessio Igor Bogani <abogani@kernel.org>
include/linux/module.h
kernel/module.c