projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
On sparc, pass -mcpu=v9 when assembling with object splitting enabled
[ghc-hetmet.git]
/
rts
/
Timer.c
diff --git
a/rts/Timer.c
b/rts/Timer.c
index
9822239
..
96ea5e2
100644
(file)
--- a/
rts/Timer.c
+++ b/
rts/Timer.c
@@
-47,7
+47,7
@@
handle_tick(int unused STG_UNUSED)
ticks_to_ctxt_switch--;
if (ticks_to_ctxt_switch <= 0) {
ticks_to_ctxt_switch = RtsFlags.ConcFlags.ctxtSwitchTicks;
- context_switch = 1; /* schedule a context switch */
+ setContextSwitches(); /* schedule a context switch */
}
}