Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2938
b: refs/heads/master
c: 13608d6
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Lynch authored and Linus Torvalds committed Jun 23, 2005
1 parent ab673ef commit 19a9557
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: 8bc76772ad653bcaad1b0af72aafb6072ef0fa87
refs/heads/master: 13608d6433eb34840224ef632cc444f3eb59bc13
6 changes: 3 additions & 3 deletions trunk/arch/ia64/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,19 @@ int arch_prepare_kprobe(struct kprobe *p)
case 0:
major_opcode = (bundle->quad0.slot0 >> SLOT0_OPCODE_SHIFT);
kprobe_inst = bundle->quad0.slot0;
bundle->quad0.slot0 = BREAK_INST;
bundle->quad0.slot0 = BREAK_INST | (0x3f & kprobe_inst);
break;
case 1:
major_opcode = (bundle->quad1.slot1_p1 >> SLOT1_p1_OPCODE_SHIFT);
kprobe_inst = (bundle->quad0.slot1_p0 |
(bundle->quad1.slot1_p1 << (64-46)));
bundle->quad0.slot1_p0 = BREAK_INST;
bundle->quad0.slot1_p0 = BREAK_INST | (0x3f & kprobe_inst);
bundle->quad1.slot1_p1 = (BREAK_INST >> (64-46));
break;
case 2:
major_opcode = (bundle->quad1.slot2 >> SLOT2_OPCODE_SHIFT);
kprobe_inst = bundle->quad1.slot2;
bundle->quad1.slot2 = BREAK_INST;
bundle->quad1.slot2 = BREAK_INST | (0x3f & kprobe_inst);
break;
}

Expand Down

0 comments on commit 19a9557

Please sign in to comment.