Clippy fix

This commit is contained in:
pjht 2025-03-06 11:27:17 -06:00
parent e753cd09b0
commit bf5b289359
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ pub fn main() {
tasking::store_initial_fpu_state();
Cr0::update(|cr0| {
cr0.insert(Cr0Flags::TASK_SWITCHED);
})
});
}
gdt::init();
Lazy::force(&PHYSICAL_MEMORY);

View File

@ -704,7 +704,7 @@ impl Tasking {
pub fn set_tls_key(&self, key: usize, val: u64) {
self.current_thread(|thread| {
thread.tls_values.lock()[key] = val;
})
});
}
pub fn get_tls_key(&self, key: usize) -> u64 {