Move include/nuttx/mm.h to include/nuttx/mm/mm.h

This commit is contained in:
Gregory Nutt
2014-09-24 07:29:09 -06:00
parent 1863370672
commit b33c2d9cef
54 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
#ifdef CONFIG_BUILD_KERNEL
# include <signal.h>
# include <nuttx/mm.h>
# include <nuttx/mm/mm.h>
#endif
#ifdef CONFIG_ARCH_ADDRENV
+2 -2
View File
@@ -46,7 +46,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <nuttx/mm.h>
#include <nuttx/mm/mm.h>
#include <nuttx/userspace.h>
#if !defined(CONFIG_BUILD_PROTECTED) || defined(__KERNEL__)
@@ -151,7 +151,7 @@ extern "C"
# define kmm_free(p) umm_free(p)
#else
/* Otherwise, the kernel-space allocators are declared in include/nuttx/mm.h
/* Otherwise, the kernel-space allocators are declared in include/nuttx/mm/mm.h
* and we can call them directly.
*/
+4 -4
View File
@@ -1,5 +1,5 @@
/****************************************************************************
* include/nuttx/mm.h
* include/nuttx/mm/mm.h
*
* Copyright (C) 2007-2009, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __INCLUDE_NUTTX_MM_H
#define __INCLUDE_NUTTX_MM_H
#ifndef __INCLUDE_NUTTX_MM_MM_H
#define __INCLUDE_NUTTX_MM_MM_H
/****************************************************************************
* Included Files
@@ -488,4 +488,4 @@ int mm_size2ndx(size_t size);
}
#endif
#endif /* __INCLUDE_NUTTX_MM_H */
#endif /* __INCLUDE_NUTTX_MM_MM_H */