1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Replace malloc force_reg by atomic_forced_read.

This commit is contained in:
Ondřej Bílka
2013-12-09 17:14:12 +01:00
parent caecf2a0ce
commit f3eeb3fc56
4 changed files with 19 additions and 17 deletions

View File

@ -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;