summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2016-10-21 14:31:37 -0500
committerAnas Nashif <nashif@linux.intel.com>2016-10-25 00:10:33 +0000
commit35ffaff43dd256b1bbfd2bc1a60776cfb32f1af3 (patch)
tree648dcf14edaae2a3f4c559407e297830ce18f765 /include
parent602e6a8ae74c13d3134bde18550e5e9cb6db3c30 (diff)
unified: Don't bother initializing memory map buffer
The "__noinit" was accidentally lost during initial prototyping of the unified kernel. This just restores it ... Change-Id: Id13e0e9a323c1bcd49c28a5d8da73943b0177890 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.h b/include/kernel.h
index d083d6db4..9cc1c0f34 100644
--- a/include/kernel.h
+++ b/include/kernel.h
@@ -1489,7 +1489,7 @@ struct k_mem_map {
* @param map_align Alignment of the memory map's buffer (power of 2)
*/
#define K_MEM_MAP_DEFINE(name, map_block_size, map_num_blocks, map_align) \
- char __aligned(map_align) \
+ char __noinit __aligned(map_align) \
_k_mem_map_buf_##name[(map_num_blocks) * (map_block_size)]; \
struct k_mem_map name \
__in_section(_k_mem_map_ptr, private, mem_map) = \