summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/setup.c
diff options
context:
space:
mode:
authorFranck Bui-Huu2006-08-18 16:18:09 +0200
committerRalf Baechle2006-09-27 14:37:58 +0200
commitb5943182592ba256639a569c7d5305cf60360733 (patch)
tree3bd1df9b9c8c88f78833801094f6790ea7875717 /arch/mips/kernel/setup.c
parent[MIPS] get_frame_info(): null function size means size is unknown (diff)
downloadkernel-qcow2-linux-b5943182592ba256639a569c7d5305cf60360733.tar.gz
kernel-qcow2-linux-b5943182592ba256639a569c7d5305cf60360733.tar.xz
kernel-qcow2-linux-b5943182592ba256639a569c7d5305cf60360733.zip
[MIPS] get_wchan(): remove uses of mfinfo[64]
This array was used to 'cache' some frame info about scheduler functions to speed up get_wchan(). This array was 1Ko size and was only used when CONFIG_KALLSYMS was set but declared for all configs. Rather than make the array statement conditional, this patches removes this array and its uses. Indeed the common case doesn't seem to use this array and get_wchan() is not a critical path anyways. It results in a smaller bss and a smaller/cleaner code: text data bss dec hex filename 2543808 254148 139296 2937252 2cd1a4 vmlinux-new-get-wchan 2544080 254148 143392 2941620 2ce2b4 vmlinux~old Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions