Clippy fix
This commit is contained in:
parent
e753cd09b0
commit
bf5b289359
@ -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);
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user