diff options
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
-rw-r--r-- | arch/powerpc/include/asm/paca.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h index 546540b91095..ad171e979ab0 100644 --- a/arch/powerpc/include/asm/paca.h +++ b/arch/powerpc/include/asm/paca.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #ifdef CONFIG_KVM_BOOK3S_64_HANDLER | 25 | #ifdef CONFIG_KVM_BOOK3S_64_HANDLER |
26 | #include <asm/kvm_book3s_asm.h> | 26 | #include <asm/kvm_book3s_asm.h> |
27 | #endif | 27 | #endif |
28 | #include <asm/accounting.h> | ||
28 | 29 | ||
29 | register struct paca_struct *local_paca asm("r13"); | 30 | register struct paca_struct *local_paca asm("r13"); |
30 | 31 | ||
@@ -184,13 +185,7 @@ struct paca_struct { | |||
184 | #endif | 185 | #endif |
185 | 186 | ||
186 | /* Stuff for accurate time accounting */ | 187 | /* Stuff for accurate time accounting */ |
187 | u64 user_time; /* accumulated usermode TB ticks */ | 188 | struct cpu_accounting_data accounting; |
188 | u64 system_time; /* accumulated system TB ticks */ | ||
189 | u64 user_time_scaled; /* accumulated usermode SPURR ticks */ | ||
190 | u64 starttime; /* TB value snapshot */ | ||
191 | u64 starttime_user; /* TB value on exit to usermode */ | ||
192 | u64 startspurr; /* SPURR value snapshot */ | ||
193 | u64 utime_sspurr; /* ->user_time when ->startspurr set */ | ||
194 | u64 stolen_time; /* TB ticks taken by hypervisor */ | 189 | u64 stolen_time; /* TB ticks taken by hypervisor */ |
195 | u64 dtl_ridx; /* read index in dispatch log */ | 190 | u64 dtl_ridx; /* read index in dispatch log */ |
196 | struct dtl_entry *dtl_curr; /* pointer corresponding to dtl_ridx */ | 191 | struct dtl_entry *dtl_curr; /* pointer corresponding to dtl_ridx */ |