Commit eb9fc642 authored by Daniel Leung's avatar Daniel Leung Committed by Dan Kalowsky
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent 0e9376eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ extern "C" {

struct arch_mem_domain {
#ifdef CONFIG_XTENSA_MMU
	uint32_t *ptables __aligned(CONFIG_MMU_PAGE_SIZE);
	uint32_t *ptables;
	uint8_t asid;
	bool dirty;
#endif