mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-17 17:36:44 +00:00
os/dd: add missing semicolon to new cache logic
This commit is contained in:
parent
f95bdb87a0
commit
01fd324d4f
2 changed files with 3 additions and 3 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue