aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/heartbeat.h
diff options
context:
space:
mode:
authorJordi Caubet <jordi_caubet@es.ibm.com>2006-04-12 11:44:27 -0400
committerPaul Mackerras <paulus@samba.org>2006-04-13 12:38:46 -0400
commit183b73ae7c9e4e19fa95d88e1778481899a65210 (patch)
treefc428c7de0612de1ae941a32c172a8c07b8d35fd /fs/ocfs2/heartbeat.h
parentf48b8296b3152bb45c07c544ce072eaa59dfbc7c (diff)
[PATCH] spufs: fix context-switch decrementer code
We found that when the 'decrementer' is saved, the PPE saves the current time 'csa->suspend_time'. When restoring the 'decrementer', (Step 34) decrementer seems to be adjusted with the number of cycles th= at a spu thread has not been running. In that code it is missing a substract ('-') because 'delta_time' is assigned a not substracted(see bellow). Acked-by: Mark Nutter <mnutter@us.ibm.com> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs/ocfs2/heartbeat.h')
0 files changed, 0 insertions, 0 deletions