aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/spu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-powerpc/spu.h b/include/asm-powerpc/spu.h
index a034f03b8107..12442acdc76f 100644
--- a/include/asm-powerpc/spu.h
+++ b/include/asm-powerpc/spu.h
@@ -107,10 +107,10 @@ struct spu_runqueue;
107struct device_node; 107struct device_node;
108 108
109enum spu_utilization_state { 109enum spu_utilization_state {
110 SPU_UTIL_SYSTEM,
111 SPU_UTIL_USER, 110 SPU_UTIL_USER,
111 SPU_UTIL_SYSTEM,
112 SPU_UTIL_IOWAIT, 112 SPU_UTIL_IOWAIT,
113 SPU_UTIL_IDLE, 113 SPU_UTIL_IDLE_LOADED,
114 SPU_UTIL_MAX 114 SPU_UTIL_MAX
115}; 115};
116 116
@@ -167,9 +167,9 @@ struct spu {
167 167
168 struct { 168 struct {
169 /* protected by interrupt reentrancy */ 169 /* protected by interrupt reentrancy */
170 enum spu_utilization_state utilization_state; 170 enum spu_utilization_state util_state;
171 unsigned long tstamp; /* time of last ctx switch */ 171 unsigned long long tstamp;
172 unsigned long times[SPU_UTIL_MAX]; 172 unsigned long long times[SPU_UTIL_MAX];
173 unsigned long long vol_ctx_switch; 173 unsigned long long vol_ctx_switch;
174 unsigned long long invol_ctx_switch; 174 unsigned long long invol_ctx_switch;
175 unsigned long long min_flt; 175 unsigned long long min_flt;