diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-01 21:14:59 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-01 21:15:00 +1000 |
commit | ad9546c9917d44eddc7676b639296d624cee455e (patch) | |
tree | d6b5cc09706fd05c78ccad79342768152a74035e /kernel/kallsyms.c | |
parent | ea01e798e2d27fd04142e0473ca36570fa9d9218 (diff) | |
download | linux-ad9546c9917d44eddc7676b639296d624cee455e.tar.gz linux-ad9546c9917d44eddc7676b639296d624cee455e.tar.bz2 linux-ad9546c9917d44eddc7676b639296d624cee455e.zip |
module: neaten __find_symbol, rename to find_symbol
__find_symbol() has grown over time: there are now 5 different arrays
of symbols it traverses. It also shouldn't print out a warning on
some calls (ie. verify_symbol which simply checks for name clashes,
and __symbol_put which checks for bugs).
1) Rename to find_symbol: no need for underscores.
2) Use bool and add "warn" parameter to suppress warnings.
3) Make table-driven rather than open coded.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions