Commit d382c3d6 authored by Peter Mitsis's avatar Peter Mitsis Committed by Anas Nashif
Browse files

logging: Update log_source_dynamic_data struct



Updates the log_source_dynamic_data structure to be a multiple of 8
bytes in size on 64-bit platforms.

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent 48fdcfd9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -36,9 +36,9 @@ struct log_source_dynamic_data {
	 */
	uint32_t dummy[2];
#endif
#if defined(CONFIG_RISCV) && defined(CONFIG_64BIT)
	/* Workaround: RV64 needs to ensure that structure is just 8 bytes. */
	uint32_t dummy;
#if defined(CONFIG_64BIT)
	/* Workaround: Ensure that structure size is a multiple of 8 bytes. */
	uint32_t dummy_64;
#endif
};