diff options
Diffstat (limited to 'src/tlb.rs')
-rw-r--r-- | src/tlb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ /// This function is unsafe as it causes a general protection fault (GP) if the current privilege /// level is not 0. pub unsafe fn flush(addr: usize) { - asm!("invlpg ($0)" :: "r" (addr) : "memory" : "volatile"); + asm!("invlpg ($0)" :: "r" (addr) : "memory"); } /// Invalidate the TLB completely by reloading the CR3 register. |