Skip to content

Commit

Permalink
mm: default mm align 32->4,64->8
Browse files Browse the repository at this point in the history
The modification at that time was because of x86-64, but the problem has been fixed elsewhere, and other architectures will not encounter any problems for the time being.

Signed-off-by: wangmingrong1 <[email protected]>
  • Loading branch information
W-M-R committed Jan 8, 2025
1 parent 3e66498 commit 51dbb9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/mm/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51dbb9b

Please sign in to comment.