Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40592
b: refs/heads/master
c: 0d69a05
h: refs/heads/master
v: v3
  • Loading branch information
Gui,Jian authored and Paul Mackerras committed Nov 1, 2006
1 parent 9ce49c9 commit 4edf5b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 292f86f005e3867277b2126c2399eea3e773a4fc
refs/heads/master: 0d69a052d4d7c4085706b9ac0d1bd28ff90c9fca
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/lib/sstep.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* 2 of the License, or (at your option) any later version.
*/
#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <linux/ptrace.h>
#include <asm/sstep.h>
#include <asm/processor.h>
Expand All @@ -25,7 +26,7 @@ extern char system_call_common[];
/*
* Determine whether a conditional branch instruction would branch.
*/
static int branch_taken(unsigned int instr, struct pt_regs *regs)
static int __kprobes branch_taken(unsigned int instr, struct pt_regs *regs)
{
unsigned int bo = (instr >> 21) & 0x1f;
unsigned int bi;
Expand All @@ -51,7 +52,7 @@ static int branch_taken(unsigned int instr, struct pt_regs *regs)
* or -1 if the instruction is one that should not be stepped,
* such as an rfid, or a mtmsrd that would clear MSR_RI.
*/
int emulate_step(struct pt_regs *regs, unsigned int instr)
int __kprobes emulate_step(struct pt_regs *regs, unsigned int instr)
{
unsigned int opcode, rd;
unsigned long int imm;
Expand Down

0 comments on commit 4edf5b0

Please sign in to comment.