diff --git a/libraries/libstratosphere/source/os/impl/os_cache_impl.os.horizon.hpp b/libraries/libstratosphere/source/os/impl/os_cache_impl.os.horizon.hpp index a6fbb197d..c4c0528c1 100644 --- a/libraries/libstratosphere/source/os/impl/os_cache_impl.os.horizon.hpp +++ b/libraries/libstratosphere/source/os/impl/os_cache_impl.os.horizon.hpp @@ -37,7 +37,7 @@ namespace ams::os::impl { /* Note to the kernel that we're performing cache maintenance, in case we get interrupted while touching cache lines. */ tlr->cache_maintenance_flag = 1; - ON_SCOPE_EXIT { tlr->cache_maintenance_flag = 0; } + ON_SCOPE_EXIT { tlr->cache_maintenance_flag = 0; }; /* Iterate, flushing cache lines. */ for (uintptr_t cur = reinterpret_cast(addr) & ~(cache_line_size - 1); cur < end_addr; cur += cache_line_size) { diff --git a/libraries/libvapours/source/dd/impl/dd_cache_impl.os.horizon.hpp b/libraries/libvapours/source/dd/impl/dd_cache_impl.os.horizon.hpp index 5c94c2a8a..8930d2158 100644 --- a/libraries/libvapours/source/dd/impl/dd_cache_impl.os.horizon.hpp +++ b/libraries/libvapours/source/dd/impl/dd_cache_impl.os.horizon.hpp @@ -37,7 +37,7 @@ namespace ams::dd::impl { /* Note to the kernel that we're performing cache maintenance, in case we get interrupted while touching cache lines. */ tlr->cache_maintenance_flag = 1; - ON_SCOPE_EXIT { tlr->cache_maintenance_flag = 0; } + ON_SCOPE_EXIT { tlr->cache_maintenance_flag = 0; }; #endif /* Invalidate the cache. */ @@ -77,7 +77,7 @@ namespace ams::dd::impl { /* Note to the kernel that we're performing cache maintenance, in case we get interrupted while touching cache lines. */ tlr->cache_maintenance_flag = 1; - ON_SCOPE_EXIT { tlr->cache_maintenance_flag = 0; } + ON_SCOPE_EXIT { tlr->cache_maintenance_flag = 0; }; #endif /* Invalidate the cache. */