android_kernel_xiaomi_sm8350/arch/mips
Franck Bui-Huu 29b376ff10 [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>
2006-09-27 13:37:58 +01:00
..
arc Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1000 [MIPS] db1x00: Remove unused mirage_ts.c 2006-09-27 13:37:05 +01:00
basler/excite [MIPS] Move excite_fpga.h to include/asm-mips/mach-excite 2006-09-27 13:37:50 +01:00
boot
cobalt [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
configs [MIPS] Enable tmpfs for anything that possibly runs a full distribution. 2006-09-27 13:37:57 +01:00
ddb5xxx [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
dec [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
emma2rh [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
gt64120 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
ite-boards [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
jazz [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
jmr3927 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
kernel [MIPS] get_frame_info(): null function size means size is unknown 2006-09-27 13:37:58 +01:00
lasat [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lib-32 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lib-64 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
math-emu Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mips-boards [MIPS] Atlas: update interrupt handling 2006-09-27 13:37:42 +01:00
mm [MIPS] Replace BARRIER with more appropriate hazard barrier. 2006-09-27 13:37:54 +01:00
momentum [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
oprofile [MIPS] Oprofile: Fix build failure due to warning and -Werror. 2006-07-13 21:26:09 +01:00
pci [MIPS] Remove EV96100 as previously announced. 2006-09-27 13:37:55 +01:00
philips/pnx8550 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
pmc-sierra [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
qemu [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
sgi-ip22 [MIPS] IP22 Fix brown paper bag in RTC code. 2006-07-13 21:26:18 +01:00
sgi-ip27 [PATCH] reduce MAX_NR_ZONES: move HIGHMEM counters into highmem.c/.h 2006-09-26 08:48:46 -07:00
sgi-ip32 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
sibyte [MIPS] Fix 32-bit kernel by replacing 64-bit-only code. 2006-09-27 13:37:35 +01:00
sni [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
tx4927 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
tx4938 [MIPS] Replace board_timer_setup function pointer by plat_timer_setup. 2006-07-13 21:26:17 +01:00
vr41xx [MIPS] vr41xx: Update workpad setup function 2006-07-13 21:26:21 +01:00
defconfig [MIPS] Enable tmpfs for anything that possibly runs a full distribution. 2006-09-27 13:37:57 +01:00
Kconfig [MIPS] Remove EV96100 as previously announced. 2006-09-27 13:37:55 +01:00
Kconfig.debug [MIPS] TRACE_IRQFLAGS_SUPPORT support. 2006-07-13 21:26:09 +01:00
Makefile [MIPS] Remove EV96100 as previously announced. 2006-09-27 13:37:55 +01:00