diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-22 20:24:25 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-22 05:24:26 -0400 |
commit | dafd0940c96fec67974a88ed8e6b8ba3160394cd (patch) | |
tree | 616da8f0f283509ec71ff2d6e467fa4c6877edc6 /kernel/mutex-debug.h | |
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 'kernel/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions