projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ec644
)
(top_check): Force hook value into register.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 17 Apr 2009 17:55:06 +0000
(17:55 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 17 Apr 2009 17:55:06 +0000
(17:55 +0000)
malloc/hooks.c
patch
|
blob
|
history
diff --git
a/malloc/hooks.c
b/malloc/hooks.c
index
5360037
..
622a815
100644
(file)
--- a/
malloc/hooks.c
+++ b/
malloc/hooks.c
@@
-235,7
+235,7
@@
top_check()
return -1;
}
/* Call the `morecore' hook if necessary. */
- void (*hook) (void) =
__after_morecore_hook
;
+ void (*hook) (void) =
force_reg (__after_morecore_hook)
;
if (hook)
(*hook) ();
main_arena.system_mem = (new_brk - mp_.sbrk_base) + sbrk_size;