Fix profiling code.

This commit is contained in:
4lDO2
2024-03-23 15:52:18 +01:00
parent 299a829ff3
commit 1b3e024f7d
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ impl KernelScheme for DebugScheme {
#[cfg(feature = "profiling")]
if handle.num != !0 {
return crate::profiling::drain_buffer(
crate::LogicalCpuId::new(handle.num as u32),
crate::cpu_set::LogicalCpuId::new(handle.num as u32),
buf,
);
}