summaryrefslogtreecommitdiff
path: root/fnlz_mlc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2015-12-28 19:11:43 +0300
committerIvan Maidanski <ivmai@mail.ru>2015-12-28 19:11:43 +0300
commit7bf1d7d64fa8b06419d1a9ffef0fc2018dd249c9 (patch)
tree818817c99170be5b17eb6f2d22d344b7dfeda47b /fnlz_mlc.c
parentd80a05927330b7148b3b13c9dc56b07024c4202d (diff)
downloadbdwgc-7bf1d7d64fa8b06419d1a9ffef0fc2018dd249c9.tar.gz
Prefix PREFETCH_FOR_WRITE with GC_ as used in gc_inline.h public header
* doc/porting.html: Rename PREFETCH_FOR_WRITE to GC_PREFETCH_FOR_WRITE. * fnlz_mlc.c (GC_finalized_malloc): Likewise. * include/gc_inline.h (GC_FAST_MALLOC_GRANS): Likewise. * include/private/gcconfig.h: Likewise. * new_hblk.c (GC_build_fl_clear4, GC_build_fl4, GC_build_fl): Likewise. * include/gc_inline.h (GC_PREFETCH_FOR_WRITE): Define to no-op if undefined.
Diffstat (limited to 'fnlz_mlc.c')
-rw-r--r--fnlz_mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnlz_mlc.c b/fnlz_mlc.c
index 4648ca96..1b168874 100644
--- a/fnlz_mlc.c
+++ b/fnlz_mlc.c
@@ -162,7 +162,7 @@ GC_API void GC_CALL GC_register_disclaim_proc(int kind, GC_disclaim_proc proc,
*my_fl = next;
obj_link(result) = 0;
*(word *)result = (word)fclos | 1;
- PREFETCH_FOR_WRITE(next);
+ GC_PREFETCH_FOR_WRITE(next);
return (word *)result + 1;
}
#endif /* THREAD_LOCAL_ALLOC */