aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boards/ec3104/setup.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-08-18 16:18:08 +0200
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 13:37:58 +0100
commit29b376ff10aaea69ee4d93b70d0fbb2ebfd80f4e (patch)
treeb498fe6a70b26fe9a3dd79d51eaf744951b74583 /arch/sh/boards/ec3104/setup.c
parent1fd6909802b837ed5510603846c0ce5938d296a1 (diff)
[MIPS] get_frame_info(): null function size means size is unknown
This patch adds 2 sanity checks. The first one test that the start address of the function to analyze has been set by the caller. If not return an error since nothing usefull can be done without. The second one checks that the function's size has been set. A null size can happen if CONFIG_KALLSYMS is not set and it means that we don't know the size of the function to analyze. In this case, we make it equal to 128 instructions by default. 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/ec3104/setup.c')
0 files changed, 0 insertions, 0 deletions