diff options
author | Michal Marek <mmarek@suse.cz> | 2010-10-12 09:09:06 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-10-12 09:09:06 -0400 |
commit | 239060b93bb30a4ad55f1ecaa512464a035cc5ba (patch) | |
tree | 77f79810e57d4fc24356eca0cd6db463e8994128 /arch/parisc/kernel/ftrace.c | |
parent | 1408b15b98635a13bad2e2a50b3c2ae2ccdf625b (diff) | |
parent | e9203c988234aa512bd45ca32b52e21c7bbfc414 (diff) |
Merge branch 'kbuild/rc-fixes' into kbuild/kconfig
We need to revert the temporary hack in 71ebc01, hence the merge.
Diffstat (limited to 'arch/parisc/kernel/ftrace.c')
-rw-r--r-- | arch/parisc/kernel/ftrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/ftrace.c b/arch/parisc/kernel/ftrace.c index 9877372ffdba..5beb97bafbb1 100644 --- a/arch/parisc/kernel/ftrace.c +++ b/arch/parisc/kernel/ftrace.c | |||
@@ -82,7 +82,7 @@ unsigned long ftrace_return_to_handler(unsigned long retval0, | |||
82 | unsigned long ret; | 82 | unsigned long ret; |
83 | 83 | ||
84 | pop_return_trace(&trace, &ret); | 84 | pop_return_trace(&trace, &ret); |
85 | trace.rettime = cpu_clock(raw_smp_processor_id()); | 85 | trace.rettime = local_clock(); |
86 | ftrace_graph_return(&trace); | 86 | ftrace_graph_return(&trace); |
87 | 87 | ||
88 | if (unlikely(!ret)) { | 88 | if (unlikely(!ret)) { |
@@ -126,7 +126,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr) | |||
126 | return; | 126 | return; |
127 | } | 127 | } |
128 | 128 | ||
129 | calltime = cpu_clock(raw_smp_processor_id()); | 129 | calltime = local_clock(); |
130 | 130 | ||
131 | if (push_return_trace(old, calltime, | 131 | if (push_return_trace(old, calltime, |
132 | self_addr, &trace.depth) == -EBUSY) { | 132 | self_addr, &trace.depth) == -EBUSY) { |