aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-08-18 16:18:09 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 13:37:58 +0100
commitb5943182592ba256639a569c7d5305cf60360733 (patch)
tree3bd1df9b9c8c88f78833801094f6790ea7875717 /arch/sh/boards
parent29b376ff10aaea69ee4d93b70d0fbb2ebfd80f4e (diff)
[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/sh/boards')
0 files changed, 0 insertions, 0 deletions