Fix a typo that crept into lpc17_allocateheap.c in the recent kernel allocator changes

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5729 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-03-11 13:21:33 +00:00
parent 3781d761f3
commit 2b64d4742a
8 changed files with 74 additions and 63 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ extern "C"
/* This familiy of allocators is used to manage kernel protected memory */
#ifndef CONFIG_NUTTX_KERNEL
#if !defined(CONFIG_NUTTX_KERNEL)
/* If this is not a kernel build, then these map to the same interfaces
* as were used for the user-mode function.
*/
+9 -1
View File
@@ -383,10 +383,18 @@ struct task_group_s
#endif
/* FILE streams ***************************************************************/
/* In a flat, single-heap build. The stream list is allocated with this
* structure. But kernel mode with a kernel allocator, it must be separately
* allocated using a user-space allocator.
*/
#if CONFIG_NFILE_STREAMS > 0
#if defined(CONFIG_NUTTX_KERNEL) && defined(CONFIG_MM_KERNEL_HEAP)
FAR struct streamlist *tg_streamlist;
#else
struct streamlist tg_streamlist; /* Holds C buffered I/O info */
#endif /* CONFIG_NFILE_STREAMS */
#endif
#endif
/* Sockets ********************************************************************/