powerpc: Implement accurate task and CPU time accounting
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / asm-offsets.c
index 840aad43a98bd218f5c985214e483b5578d6b763..18810ac55bcce80f1e5d4854dcecdda5a1fd96d9 100644 (file)
@@ -137,6 +137,9 @@ int main(void)
        DEFINE(PACAEMERGSP, offsetof(struct paca_struct, emergency_sp));
        DEFINE(PACALPPACAPTR, offsetof(struct paca_struct, lppaca_ptr));
        DEFINE(PACAHWCPUID, offsetof(struct paca_struct, hw_cpu_id));
+       DEFINE(PACA_STARTPURR, offsetof(struct paca_struct, startpurr));
+       DEFINE(PACA_USER_TIME, offsetof(struct paca_struct, user_time));
+       DEFINE(PACA_SYSTEM_TIME, offsetof(struct paca_struct, system_time));
 
        DEFINE(LPPACASRR0, offsetof(struct lppaca, saved_srr0));
        DEFINE(LPPACASRR1, offsetof(struct lppaca, saved_srr1));