diff options
Diffstat (limited to 'include/asm-powerpc/paca.h')
| -rw-r--r-- | include/asm-powerpc/paca.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-powerpc/paca.h b/include/asm-powerpc/paca.h index c9add8f1ad94..4465b95ebef0 100644 --- a/include/asm-powerpc/paca.h +++ b/include/asm-powerpc/paca.h | |||
| @@ -54,7 +54,7 @@ struct paca_struct { | |||
| 54 | #endif /* CONFIG_PPC_ISERIES */ | 54 | #endif /* CONFIG_PPC_ISERIES */ |
| 55 | 55 | ||
| 56 | /* | 56 | /* |
| 57 | * MAGIC: the spinlock functions in arch/ppc64/lib/locks.c | 57 | * MAGIC: the spinlock functions in arch/powerpc/lib/locks.c |
| 58 | * load lock_token and paca_index with a single lwz | 58 | * load lock_token and paca_index with a single lwz |
| 59 | * instruction. They must travel together and be properly | 59 | * instruction. They must travel together and be properly |
| 60 | * aligned. | 60 | * aligned. |
| @@ -96,6 +96,11 @@ struct paca_struct { | |||
| 96 | u64 saved_r1; /* r1 save for RTAS calls */ | 96 | u64 saved_r1; /* r1 save for RTAS calls */ |
| 97 | u64 saved_msr; /* MSR saved here by enter_rtas */ | 97 | u64 saved_msr; /* MSR saved here by enter_rtas */ |
| 98 | u8 proc_enabled; /* irq soft-enable flag */ | 98 | u8 proc_enabled; /* irq soft-enable flag */ |
| 99 | |||
| 100 | /* Stuff for accurate time accounting */ | ||
| 101 | u64 user_time; /* accumulated usermode TB ticks */ | ||
| 102 | u64 system_time; /* accumulated system TB ticks */ | ||
| 103 | u64 startpurr; /* PURR/TB value snapshot */ | ||
| 99 | }; | 104 | }; |
| 100 | 105 | ||
| 101 | extern struct paca_struct paca[]; | 106 | extern struct paca_struct paca[]; |
