WSL2-Linux-Kernel/arch
Alexey Dobriyan ffb4512276 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>
2007-05-08 11:15:08 -07:00
..
alpha header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
arm header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
arm26 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
avr32 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
blackfin blackfin architecture 2007-05-07 12:12:58 -07:00
cris header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
frv header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
h8300 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
i386 Kprobes: print details of kretprobe on assertion failure 2007-05-08 11:15:08 -07:00
ia64 Kprobes: print details of kretprobe on assertion failure 2007-05-08 11:15:08 -07:00
m32r header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
m68k header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
m68knommu header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
mips header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
parisc Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
powerpc Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
ppc header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
s390 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sh header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sh64 Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
sparc header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sparc64 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
um uml: an idle system should have zero load average 2007-05-08 11:14:57 -07:00
v850 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
x86_64 Kprobes: print details of kretprobe on assertion failure 2007-05-08 11:15:08 -07:00
xtensa header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00