diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-12-09 17:14:12 +0100 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-12-09 17:14:12 +0100 |
commit | f3eeb3fc560ccc4ce51dc605e4703c5016b07244 (patch) | |
tree | 3473c8dfdddb007c00fa39790ac3bdb1b3c3603a /malloc/hooks.c | |
parent | caecf2a0ce760f03a7f5ffd63c9001cc1cfc2fbf (diff) | |
download | glibc-f3eeb3fc560ccc4ce51dc605e4703c5016b07244.tar.gz glibc-f3eeb3fc560ccc4ce51dc605e4703c5016b07244.tar.xz glibc-f3eeb3fc560ccc4ce51dc605e4703c5016b07244.zip |
Replace malloc force_reg by atomic_forced_read.
Diffstat (limited to 'malloc/hooks.c')
-rw-r--r-- | malloc/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c index 89fbd3c948..fdacdeff0b 100644 --- a/malloc/hooks.c +++ b/malloc/hooks.c @@ -236,7 +236,7 @@ top_check(void) return -1; } /* Call the `morecore' hook if necessary. */ - void (*hook) (void) = force_reg (__after_morecore_hook); + void (*hook) (void) = atomic_forced_read (__after_morecore_hook); if (hook) (*hook) (); main_arena.system_mem = (new_brk - mp_.sbrk_base) + sbrk_size; |