diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r-- | arch/powerpc/platforms/pseries/hvCall_inst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/hvCall_inst.c b/arch/powerpc/platforms/pseries/hvCall_inst.c index 2f58c71b7259..1fefae76e295 100644 --- a/arch/powerpc/platforms/pseries/hvCall_inst.c +++ b/arch/powerpc/platforms/pseries/hvCall_inst.c | |||
@@ -124,8 +124,8 @@ static void probe_hcall_exit(unsigned long opcode, unsigned long retval, | |||
124 | 124 | ||
125 | h = &__get_cpu_var(hcall_stats)[opcode / 4]; | 125 | h = &__get_cpu_var(hcall_stats)[opcode / 4]; |
126 | h->num_calls++; | 126 | h->num_calls++; |
127 | h->tb_total = mftb() - h->tb_start; | 127 | h->tb_total += mftb() - h->tb_start; |
128 | h->purr_total = mfspr(SPRN_PURR) - h->purr_start; | 128 | h->purr_total += mfspr(SPRN_PURR) - h->purr_start; |
129 | 129 | ||
130 | put_cpu_var(hcall_stats); | 130 | put_cpu_var(hcall_stats); |
131 | } | 131 | } |