Simplify kallsyms_lookup()
authorAlexey Dobriyan <adobriyan@sw.ru>
Tue, 8 May 2007 07:28:41 +0000 (00:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:08 +0000 (11:15 -0700)
commitffb45122766db220d0bf3d01848d575fbbcb6430
treea8fedf0518407ad12578a7c03aa2c3344f11ff3c
parentea07890a680273b25127129fb555aac0d9324bea
Simplify kallsyms_lookup()

Several kallsyms_lookup() pass dummy arguments but only need, say, module's
name.  Make kallsyms_lookup() accept NULLs where possible.

Also, makes picture clearer about what interfaces are needed for all symbol
resolving business.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/kernel/unwind.c
arch/powerpc/xmon/xmon.c
arch/sh64/kernel/unwind.c
fs/proc/base.c
kernel/kallsyms.c
kernel/kprobes.c
kernel/lockdep.c
kernel/module.c
kernel/time/timer_list.c
kernel/time/timer_stats.c