sandbox: Add an additional dummy sync macro
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:50:08 +0000 (15:50 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 16:58:43 +0000 (10:58 -0600)
There are some drivers which call a "dmb" for a type of sync. Add that
as well to sandbox.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/io.h

index 7295382..cd3f5d6 100644 (file)
@@ -14,6 +14,7 @@ static inline void sync(void)
 
 #define mb()   sync()
 #define dmb()  sync()
+#define wmb()  sync()
 
 enum sandboxio_size_t {
        SB_SIZE_8,