Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15081
b: refs/heads/master
c: 590711b
h: refs/heads/master
i:
  15079: 5161824
v: v3
  • Loading branch information
Jack Steiner authored and Tony Luck committed Dec 6, 2005
1 parent 40f4d55 commit 5857f6b
Show file tree
Hide file tree
Showing 2 changed files with 7 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: bd1d6e2451f2bb0132416fda4d129c4f57a827bc
refs/heads/master: 590711b7dd731bb04e7892c0451566d788985e79
8 changes: 6 additions & 2 deletions trunk/arch/ia64/sn/kernel/sn2/ptc_deadlock.S
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ sn2_ptc_deadlock_recovery_core:
mov r8=r0

1:
cmp.ne p8,p9=r0,ptc1 // Test for shub type (ptc1 non-null on shub1)
// p8 = 1 if shub1, p9 = 1 if shub2

add scr2=ALIAS_OFFSET,piowc // Address of WRITE_STATUS alias register
;;
ld8.acq scr1=[scr2];;
mov scr1=7;; // Clear DEADLOCK, WRITE_ERROR, MULTI_WRITE_ERROR
(p8) st8.rel [scr2]=scr1;;
(p9) ld8.acq scr1=[scr2];;

5: ld8.acq scr1=[piowc];; // Wait for PIOs to complete.
hint @pause
Expand Down

0 comments on commit 5857f6b

Please sign in to comment.