diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-22 19:24:25 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-22 19:24:26 +1000 |
commit | dafd0940c96fec67974a88ed8e6b8ba3160394cd (patch) | |
tree | 616da8f0f283509ec71ff2d6e467fa4c6877edc6 /mm | |
parent | da39ba5e1d65e997a98f6eb93ba6e6eb505f6e3c (diff) |
module: generic each_symbol iterator function
Introduce an each_symbol() iterator to avoid duplicating the knowledge
about the 5 different sections containing symbols. Currently only
used by find_symbol(), but will be used by symbol_put_addr() too.
(Includes NULL ptr deref fix by Jiri Kosina <jkosina@suse.cz>)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions