diff options
author | Chris Johns <chrisj@rtems.org> | 2014-11-20 08:43:15 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-11-20 08:43:15 +1100 |
commit | 4f1bbbfcdf991470e46456324c5be57cedf7390c (patch) | |
tree | 8610c85cbfbe1ccfffca2d4f4048f27d908996e8 /cpukit/libdl | |
parent | libdl: Add a comment to the previous fix. (diff) | |
download | rtems-4f1bbbfcdf991470e46456324c5be57cedf7390c.tar.bz2 |
libdl: Add a comment.
See ref #2191.
Diffstat (limited to 'cpukit/libdl')
-rw-r--r-- | cpukit/libdl/rtl-allocator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c index ced19d0466..d5cc4435db 100644 --- a/cpukit/libdl/rtl-allocator.c +++ b/cpukit/libdl/rtl-allocator.c @@ -52,6 +52,9 @@ rtems_rtl_alloc_new (rtems_rtl_alloc_tag_t tag, size_t size, bool zero) rtems_rtl_data_t* rtl = rtems_rtl_lock (); void* address = NULL; + /* + * Obtain memory from the allocator. + */ if (rtl) rtl->allocator.allocator (true, tag, &address, size); |