Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313672
b: refs/heads/master
c: 6da7094
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Jul 10, 2012
1 parent 6dda1ac commit 36e7f4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c093efa6f2dd07d45835be870a20ed3b05b6ef5
refs/heads/master: 6da7094810df5408e32528024cb783f920c87a2c
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/perf/callchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ perf_callchain_kernel(struct perf_callchain_entry *entry, struct pt_regs *regs)

lr = regs->link;
sp = regs->gpr[1];
perf_callchain_store(entry, regs->nip);
perf_callchain_store(entry, perf_instruction_pointer(regs));

if (!validate_sp(sp, current, STACK_FRAME_OVERHEAD))
return;
Expand Down Expand Up @@ -238,7 +238,7 @@ static void perf_callchain_user_64(struct perf_callchain_entry *entry,
struct signal_frame_64 __user *sigframe;
unsigned long __user *fp, *uregs;

next_ip = regs->nip;
next_ip = perf_instruction_pointer(regs);
lr = regs->link;
sp = regs->gpr[1];
perf_callchain_store(entry, next_ip);
Expand Down Expand Up @@ -444,7 +444,7 @@ static void perf_callchain_user_32(struct perf_callchain_entry *entry,
long level = 0;
unsigned int __user *fp, *uregs;

next_ip = regs->nip;
next_ip = perf_instruction_pointer(regs);
lr = regs->link;
sp = regs->gpr[1];
perf_callchain_store(entry, next_ip);
Expand Down

0 comments on commit 36e7f4a

Please sign in to comment.