Revert "mm_heap: double malloced memory default alignment (4 -> 8, 8 -> 16)"
This reverts commit 3e971d2e6d
.
This commit is contained in:
parent
00794b92c4
commit
11d54b34a7
2 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@
|
|||
#endif
|
||||
|
||||
#if CONFIG_MM_DEFAULT_ALIGNMENT == 0
|
||||
# define MM_ALIGN (2 * sizeof(uintptr_t))
|
||||
# define MM_ALIGN sizeof(uintptr_t)
|
||||
#else
|
||||
# define MM_ALIGN CONFIG_MM_DEFAULT_ALIGNMENT
|
||||
#endif
|
||||
|
|
|
@ -62,7 +62,7 @@ config MM_KERNEL_HEAPSIZE
|
|||
|
||||
config MM_DEFAULT_ALIGNMENT
|
||||
int "Memory default alignment in bytes"
|
||||
default 0
|
||||
default 8
|
||||
range 0 64
|
||||
---help---
|
||||
The memory default alignment in bytes, if this value is 0, the real
|
||||
|
|
Loading…
Reference in a new issue