Skip to content

Commit eb9fc64

Browse files
dcpleungdkalowsk
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]>
1 parent 0e9376e commit eb9fc64

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
@@ -63,7 +63,7 @@ extern "C" {
6363

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

0 commit comments

Comments
 (0)