On Sun, Jan 24, 2010 at 23:37, Li Yi <[email protected]> wrote: > On Fri, 2010-01-22 at 07:57 -0500, [email protected] wrote: >> Blackfin: implement ftrace mcount test >> >> Modified: trunk/arch/blackfin/kernel/ftrace-entry.S (8220 => 8221) >> >> @@ -21,6 +21,15 @@ >> * function will be waiting there. mmmm pie. >> */ >> ENTRY(__mcount) >> +#ifdef CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST >> + /* optional micro optimization: return if stopped */ >> + p1.l = _function_trace_stop; >> + p1.h = _function_trace_stop; >> + r3 = [p1]; >> + cc = r3 == 0; >> + if cc jump _ftrace_stub (bp); > > Should it be "cc = r3 == 1;" ?
perhaps "!= 0" ? the x86 asm language always screws me up. -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
