kern: fix hardware timer task corruption on core migration

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-31 14:50:52 -07:00
1 parent 840ab0785c
commit a4d376cc0f
1 file changed
+1 -1
@@ -115,7 +115,7 @@ namespace ams::kern {
}
static ALWAYS_INLINE KHardwareTimer &GetHardwareTimer() {
return GetCoreLocalContext().hardware_timer;
return GetCoreLocalContext(GetCurrentCoreId()).hardware_timer;
}
static ALWAYS_INLINE KResourceLimit &GetSystemResourceLimit() {