From: Rusty Russell Date: Wed, 23 Jul 2008 00:24:25 +0000 (-0500) Subject: module: generic each_symbol iterator function X-Git-Tag: v2.6.27-rc1~864^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dafd0940c96fec67974a88ed8e6b8ba3160394cd;p=pandora-kernel.git 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 ) Signed-off-by: Rusty Russell Cc: Jiri Kosina --- Reading git-diff-tree failed