Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298887
b: refs/heads/master
c: a5ddea0
h: refs/heads/master
i:
  298885: 03fd24e
  298883: f586fa9
  298879: 9da4e05
v: v3
  • Loading branch information
Paul Mackerras committed Apr 3, 2012
1 parent ebb8282 commit b73fc4e
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: b4e51229d8a1e499fe65153766437152cca42053
refs/heads/master: a5ddea0e78e76aa8d6354b9b0e51e652e21b8137
8 changes: 6 additions & 2 deletions trunk/arch/powerpc/kvm/book3s_hv_interrupts.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ _GLOBAL(__kvmppc_vcore_entry)
/* Save host state to the stack */
stdu r1, -SWITCH_FRAME_SIZE(r1)

/* Save non-volatile registers (r14 - r31) */
/* Save non-volatile registers (r14 - r31) and CR */
SAVE_NVGPRS(r1)
mfcr r3
std r3, _CCR(r1)

/* Save host DSCR */
BEGIN_FTR_SECTION
Expand Down Expand Up @@ -157,8 +159,10 @@ kvmppc_handler_highmem:
* R13 = PACA
*/

/* Restore non-volatile host registers (r14 - r31) */
/* Restore non-volatile host registers (r14 - r31) and CR */
REST_NVGPRS(r1)
ld r4, _CCR(r1)
mtcr r4

addi r1, r1, SWITCH_FRAME_SIZE
ld r0, PPC_LR_STKOFF(r1)
Expand Down

0 comments on commit b73fc4e

Please sign in to comment.