summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-14 22:02:56 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-14 22:02:56 +0100
commit9e4348ec5de43ff540cc9e3c21e5aade8e2d5a61 (patch)
treee564005bd23ca62848b3d724981e7513ffdea578 /includes
parent5483b14c4c6ebcba7025bdea493aacff274b8b31 (diff)
downloadhaskell-9e4348ec5de43ff540cc9e3c21e5aade8e2d5a61.tar.gz
Whitespace only in rts/storage/SMPClosureOps.h
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/storage/SMPClosureOps.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/rts/storage/SMPClosureOps.h b/includes/rts/storage/SMPClosureOps.h
index 39349874f7..e2b01d76be 100644
--- a/includes/rts/storage/SMPClosureOps.h
+++ b/includes/rts/storage/SMPClosureOps.h
@@ -13,7 +13,7 @@
#define unlockClosure(ptr,info) \
prim_write_barrier; \
- StgHeader_info(ptr) = info;
+ StgHeader_info(ptr) = info;
#else
@@ -35,12 +35,12 @@ EXTERN_INLINE StgInfoTable *lockClosure(StgClosure *p)
{
StgWord info;
do {
- nat i = 0;
- do {
- info = xchg((P_)(void *)&p->header.info, (W_)&stg_WHITEHOLE_info);
- if (info != (W_)&stg_WHITEHOLE_info) return (StgInfoTable *)info;
- } while (++i < SPIN_COUNT);
- yieldThread();
+ nat i = 0;
+ do {
+ info = xchg((P_)(void *)&p->header.info, (W_)&stg_WHITEHOLE_info);
+ if (info != (W_)&stg_WHITEHOLE_info) return (StgInfoTable *)info;
+ } while (++i < SPIN_COUNT);
+ yieldThread();
} while (1);
}