Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176112
b: refs/heads/master
c: 6d9e60c
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Dec 14, 2009
1 parent 7394440 commit 36c077e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2fd7c761a24c28e83d7194b4b4a099451126a503
refs/heads/master: 6d9e60ce30a1be35491c74df00aaa25d869f8a02
1 change: 1 addition & 0 deletions trunk/arch/microblaze/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config MICROBLAZE
def_bool y
select HAVE_LMB
select HAVE_FUNCTION_TRACER
select HAVE_FUNCTION_TRACE_MCOUNT_TEST
select USB_ARCH_HAS_EHCI
select ARCH_WANT_OPTIONAL_GPIOLIB

Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/microblaze/kernel/mcount.S
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ ENTRY(ftrace_stub)
ENTRY(_mcount)
SAVE_REGS
swi r15, r1, 0;
/* MS: HAVE_FUNCTION_TRACE_MCOUNT_TEST begin of checking */
lwi r5, r0, function_trace_stop;
bneid r5, end;
nop;
/* MS: HAVE_FUNCTION_TRACE_MCOUNT_TEST end of checking */
/* MS: test function trace if is taken or not */
lwi r20, r0, ftrace_trace_function;
addik r6, r0, ftrace_stub;
Expand Down

0 comments on commit 36c077e

Please sign in to comment.