os/dd: add missing semicolon to new cache logic

This commit is contained in:
Michael Scire authored and SciresM committed 2022-03-23 09:10:50 -07:00
1 parent f95bdb87a0
commit 01fd324d4f
2 files changed
+3 -3

No files matched your search

@@ -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<uintptr_t>(addr) & ~(cache_line_size - 1); cur < end_addr; cur += cache_line_size) {
@@ -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. */