Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[cascardo/linux.git] / arch / powerpc / include / asm / paca.h
index 4b17bd0..148303e 100644 (file)
@@ -25,6 +25,7 @@
 #ifdef CONFIG_KVM_BOOK3S_64_HANDLER
 #include <asm/kvm_book3s_asm.h>
 #endif
+#include <asm/accounting.h>
 #include <asm/hmi.h>
 
 register struct paca_struct *local_paca asm("r13");
@@ -190,13 +191,7 @@ struct paca_struct {
 #endif
 
        /* Stuff for accurate time accounting */
-       u64 user_time;                  /* accumulated usermode TB ticks */
-       u64 system_time;                /* accumulated system TB ticks */
-       u64 user_time_scaled;           /* accumulated usermode SPURR ticks */
-       u64 starttime;                  /* TB value snapshot */
-       u64 starttime_user;             /* TB value on exit to usermode */
-       u64 startspurr;                 /* SPURR value snapshot */
-       u64 utime_sspurr;               /* ->user_time when ->startspurr set */
+       struct cpu_accounting_data accounting;
        u64 stolen_time;                /* TB ticks taken by hypervisor */
        u64 dtl_ridx;                   /* read index in dispatch log */
        struct dtl_entry *dtl_curr;     /* pointer corresponding to dtl_ridx */