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/arena.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/arena.c')
-rw-r--r-- | malloc/arena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/arena.c b/malloc/arena.c index d81ed0d680..4e83fdba3d 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -457,7 +457,7 @@ ptmalloc_init (void) if (check_action != 0) __malloc_check_init(); } - void (*hook) (void) = force_reg (__malloc_initialize_hook); + void (*hook) (void) = atomic_forced_read (__malloc_initialize_hook); if (hook != NULL) (*hook)(); __malloc_initialized = 1; |