Skip to content

Commit 8bae4f2

Browse files
dcpleungnashif
authored andcommitted
xtensa: remove mem_domain excess padding
The ptables field in arch_mem_domain for Xtensa has excessive padding as it is incorrectly marked with needing page size alignment. This is simply a pointer and not the actual page table so there is no need for that alignment. So remove it. Fixes #71896 Signed-off-by: Daniel Leung <[email protected]> (cherry picked from commit eb9fc64)
1 parent 558658e commit 8bae4f2

File tree

1 file changed

+1
-1
lines changed
  • include/zephyr/arch/xtensa

1 file changed

+1
-1
lines changed

include/zephyr/arch/xtensa/arch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extern "C" {
6262

6363
struct arch_mem_domain {
6464
#ifdef CONFIG_XTENSA_MMU
65-
uint32_t *ptables __aligned(CONFIG_MMU_PAGE_SIZE);
65+
uint32_t *ptables;
6666
uint8_t asid;
6767
bool dirty;
6868
#endif

0 commit comments

Comments
 (0)