diff options
Diffstat (limited to 'arch/sparc/kernel/hvcalls.S')
-rw-r--r-- | arch/sparc/kernel/hvcalls.S | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sparc/kernel/hvcalls.S b/arch/sparc/kernel/hvcalls.S index f3ab509b76a8..caedf8320416 100644 --- a/arch/sparc/kernel/hvcalls.S +++ b/arch/sparc/kernel/hvcalls.S | |||
@@ -821,3 +821,19 @@ ENTRY(sun4v_vt_set_perfreg) | |||
821 | retl | 821 | retl |
822 | nop | 822 | nop |
823 | ENDPROC(sun4v_vt_set_perfreg) | 823 | ENDPROC(sun4v_vt_set_perfreg) |
824 | |||
825 | ENTRY(sun4v_t5_get_perfreg) | ||
826 | mov %o1, %o4 | ||
827 | mov HV_FAST_T5_GET_PERFREG, %o5 | ||
828 | ta HV_FAST_TRAP | ||
829 | stx %o1, [%o4] | ||
830 | retl | ||
831 | nop | ||
832 | ENDPROC(sun4v_t5_get_perfreg) | ||
833 | |||
834 | ENTRY(sun4v_t5_set_perfreg) | ||
835 | mov HV_FAST_T5_SET_PERFREG, %o5 | ||
836 | ta HV_FAST_TRAP | ||
837 | retl | ||
838 | nop | ||
839 | ENDPROC(sun4v_t5_set_perfreg) | ||