Commit 44b774858e for qemu.org

commit 44b774858ee0bc92c8fda0825204b4c0c3d89cfb
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date:   Tue Jun 16 10:11:40 2026 +0200

    system/memory: Remove unnecessary CONFIG_USER_ONLY guards

    This header is only used when building system units,
    checking for CONFIG_USER_ONLY is pointless.

    Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Message-Id: <20260616153754.93545-2-philmd@oss.qualcomm.com>

diff --git a/system/memory-internal.h b/system/memory-internal.h
index 0066ffdffb..c7573a68b5 100644
--- a/system/memory-internal.h
+++ b/system/memory-internal.h
@@ -14,7 +14,6 @@
 #ifndef MEMORY_INTERNAL_H
 #define MEMORY_INTERNAL_H

-#ifndef CONFIG_USER_ONLY
 static inline AddressSpaceDispatch *flatview_to_dispatch(FlatView *fv)
 {
     return fv->dispatch;
@@ -57,4 +56,3 @@ static inline MemOp devend_memop(enum device_endian end)
 }

 #endif
-#endif