projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee9c47f
)
Make appendToRunQueue EXTERN_INLINE rather than INLINE_HEADER
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 8 Oct 2009 12:05:27 +0000
(12:05 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 8 Oct 2009 12:05:27 +0000
(12:05 +0000)
Fixes compilation with gcc 4.4
rts/Inlines.c
patch
|
blob
|
history
rts/Schedule.h
patch
|
blob
|
history
diff --git
a/rts/Inlines.c
b/rts/Inlines.c
index
88cbdd2
..
fa521e4
100644
(file)
--- a/
rts/Inlines.c
+++ b/
rts/Inlines.c
@@
-4,3
+4,4
@@
#define KEEP_INLINES
#include "PosixSource.h"
#include "Rts.h"
+#include "Schedule.h"
diff --git
a/rts/Schedule.h
b/rts/Schedule.h
index
2dd4acd
..
5f669b3
100644
(file)
--- a/
rts/Schedule.h
+++ b/
rts/Schedule.h
@@
-126,7
+126,10
@@
void performPendingThrowTos (StgTSO *);
* NOTE: tso->link should be END_TSO_QUEUE before calling this macro.
* ASSUMES: cap->running_task is the current task.
*/
-INLINE_HEADER void
+EXTERN_INLINE void
+appendToRunQueue (Capability *cap, StgTSO *tso);
+
+EXTERN_INLINE void
appendToRunQueue (Capability *cap, StgTSO *tso)
{
ASSERT(tso->_link == END_TSO_QUEUE);